/* NorthEliq — Nordic design & architecture journal */
:root {
  --bg: #f2f0ec;
  --bg-warm: #e6e2d8;
  --bg-card: #ffffff;
  --ink: #16181c;
  --ink-soft: #4a4e56;
  --muted: #8c8f97;
  --teal: #3a5566;
  --teal-deep: #243845;
  --wood: #c7bca8;
  --wood-deep: #9a8d75;
  --line: #d6d2c8;
  --shadow: 0 32px 64px -36px rgba(22, 24, 28, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
}

a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 36px; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0;
}
.logo {
  font-family: 'EB Garamond', serif;
  font-size: 26px; font-weight: 500;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
  letter-spacing: -0.015em;
}
.logo .num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  position: relative; top: -8px;
}
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  color: var(--ink); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.nav a:hover { color: var(--teal); }

/* Hero */
.hero {
  padding: 120px 0 130px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 80px;
  align-items: end;
}
.hero-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--teal); font-weight: 600;
  margin-bottom: 30px;
  display: flex; gap: 28px;
}
.hero-num span { color: var(--muted); }
.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  margin-bottom: 30px;
  font-weight: 400;
  font-style: italic;
}
.hero h1 strong {
  font-style: normal;
  font-weight: 500;
}
.hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.65;
}
.btn {
  display: inline-block;
  padding: 16px 30px;
  background: var(--ink); color: var(--bg);
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.btn-ghost {
  background: transparent; color: var(--ink);
  margin-left: 10px;
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

.hero-visual {
  aspect-ratio: 3/4;
  position: relative;
  background:
    linear-gradient(180deg, rgba(36, 56, 69, 0.05), rgba(36, 56, 69, 0.3)),
    linear-gradient(135deg, var(--wood), var(--wood-deep));
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: 18%; left: 18%; right: 18%; bottom: 18%;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 70%, rgba(22, 24, 28, 0.5));
}
.hero-label {
  position: absolute;
  bottom: 26px; left: 26px; right: 26px;
  color: var(--bg);
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  display: flex; justify-content: space-between;
}

/* Sections */
section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: end;
}
.section-eyebrow {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--teal); font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400; font-style: italic;
}
.section-sub { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }

/* Studios / projects grid */
.studios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.studio {
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.studio:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.studio-img { aspect-ratio: 4/5; position: relative; overflow: hidden; }
.studio:nth-child(1) .studio-img { background: linear-gradient(160deg, var(--teal-deep), var(--teal)); }
.studio:nth-child(2) .studio-img { background: linear-gradient(160deg, var(--wood), var(--wood-deep)); }
.studio:nth-child(3) .studio-img { background: linear-gradient(160deg, var(--ink), var(--teal-deep)); }
.studio:nth-child(4) .studio-img { background: linear-gradient(160deg, var(--bg-warm), var(--wood)); }
.studio:nth-child(5) .studio-img { background: linear-gradient(160deg, var(--teal), var(--ink)); }
.studio:nth-child(6) .studio-img { background: linear-gradient(160deg, var(--wood-deep), var(--teal-deep)); }
.studio-img::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.15);
}
.studio-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.studio-loc {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
  margin-bottom: 12px;
}
.studio h3 { font-size: 24px; margin-bottom: 12px; font-weight: 500; }
.studio p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; flex: 1; }
.studio-meta {
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em;
  display: flex; justify-content: space-between;
}

/* Editorial band */
.band {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 130px 0;
  text-align: center;
}
.band h2 {
  color: var(--bg);
  font-size: clamp(32px, 4.5vw, 50px);
  max-width: 880px; margin: 0 auto 24px;
  font-weight: 400; font-style: italic;
}
.band p { color: rgba(242, 240, 236, 0.7); max-width: 540px; margin: 0 auto 32px; }
.band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.band .btn:hover { background: transparent; color: var(--bg); border-color: var(--bg); }

/* Page */
.page { padding: 90px 0; max-width: 780px; margin: 0 auto; }
.page h1 { font-size: clamp(42px, 5.5vw, 62px); margin-bottom: 16px; font-weight: 400; font-style: italic; }
.page .meta {
  color: var(--muted); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.2em;
  margin-bottom: 44px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.page h2 { font-size: 30px; margin: 44px 0 14px; font-weight: 500; }
.page h3 {
  font-size: 18px; margin: 28px 0 10px;
  font-family: 'Inter Tight', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal);
}
.page p, .page li { color: var(--ink-soft); margin-bottom: 14px; font-size: 16px; }
.page ul { padding-left: 22px; margin-bottom: 14px; }
.page strong { color: var(--ink); }

/* Forms */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 44px;
  margin-top: 26px;
  box-shadow: var(--shadow);
}
.form-field { margin-bottom: 22px; }
label {
  display: block;
  font-size: 11px; font-weight: 600;
  margin-bottom: 8px; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.16em;
}
input, textarea, select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line);
  font-family: inherit; font-size: 15px;
  background: var(--bg); color: var(--ink);
  border-radius: 0;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); background: #fff; }
textarea { min-height: 130px; resize: vertical; }

.notice {
  background: var(--bg-warm);
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  margin: 22px 0; font-size: 15px; color: var(--ink-soft);
}
.notice strong { color: var(--ink); }

.success {
  display: none;
  background: #e9efe7; border-left: 3px solid #3a6b48;
  padding: 18px 22px;
  margin-top: 22px; color: #1d4a2f; font-size: 15px;
}
.success.show { display: block; }

/* Footer */
.site-footer {
  background: var(--ink); color: rgba(242, 240, 236, 0.8);
  padding: 72px 0 32px;
}
.site-footer .logo { color: var(--bg); }
.site-footer .logo .num { color: var(--wood); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 50px;
}
.footer-grid h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 18px; color: var(--wood);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(242, 240, 236, 0.85); font-size: 14px; }
.footer-grid a:hover { color: var(--wood); }
.footer-grid p { color: rgba(242, 240, 236, 0.65); font-size: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(199, 188, 168, 0.25);
  padding-top: 26px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(242, 240, 236, 0.5);
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 360px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .studios { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
