@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;700;800&display=swap');

:root {
  --cream: #f4efe3;
  --ink: #1b1814;
  --indigo: #2a3a6b;
  --brass: #b89149;
  --cream-soft: #fffaf0;
  --ink-soft: rgba(27, 24, 20, 0.72);
  --line-dark: rgba(27, 24, 20, 0.18);
  --line-light: rgba(244, 239, 227, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wordmark,
h1,
h2,
h3,
.hero-wordmark,
.tagline,
.monogram {
  font-family:
    "Schibsted Grotesk", Georgia, "Times New Roman", serif;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 239, 227, 0.94);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.site-header .wordmark {
  font-size: 26px;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.header-action,
.site-footer a {
  text-underline-offset: 5px;
}

.site-nav a:hover,
.header-action:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.header-action {
  justify-self: end;
  color: var(--brass);
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 760px);
  gap: clamp(28px, 8vw, 96px);
  align-items: center;
  padding: 112px clamp(20px, 7vw, 104px) 72px;
  color: var(--cream);
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 145, 73, 0.14), transparent 32%),
    var(--ink);
}

.hero-copy {
  max-width: 720px;
}

.hero-wordmark {
  margin-bottom: 10px;
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 500;
  line-height: 0.9;
}

.hero .tagline {
  margin: 0 0 34px;
  color: var(--cream);
  font-size: clamp(18px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

.hero .tagline span {
  color: var(--brass);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1:not(.hero-wordmark) {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.96;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.02;
}

.about-copy h2 {
  max-width: 20ch;
}

h3 {
  margin-bottom: 14px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.08;
}

.hero p,
.contact-section p {
  max-width: 58ch;
  color: rgba(244, 239, 227, 0.78);
  font-size: clamp(18px, 2vw, 21px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid var(--brass);
  border-radius: 3px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--brass);
  font-size: 14px;
  font-weight: 800;
}

.button:hover {
  background: #c39d57;
}

.button-light {
  color: var(--cream);
  background: transparent;
}

.button-light:hover {
  background: var(--cream);
  color: var(--ink);
}

.section {
  padding: clamp(76px, 10vw, 140px) clamp(20px, 7vw, 104px);
  border-top: 1px solid var(--line-dark);
}

.section-label {
  margin: 0 0 clamp(24px, 4vw, 48px);
  color: var(--indigo);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
}

.about-copy p,
.work-heading p,
.work-grid p {
  color: var(--ink-soft);
  font-size: 18px;
}

.about-copy p {
  max-width: 60ch;
}

.image-panel {
  margin: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 16px 0;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.image-panel figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.work-section {
  color: var(--cream);
  background: var(--ink);
  border-color: var(--line-light);
}

.work-section .section-label {
  color: var(--brass);
}

.work-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.52fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 68px);
}

.work-heading p,
.work-grid p {
  color: rgba(244, 239, 227, 0.72);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
}

.work-grid article {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(24px, 4vw, 38px) clamp(24px, 4vw, 38px)
    clamp(36px, 5vw, 56px);
  background: var(--ink);
}

.work-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brass);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: auto minmax(300px, 680px) auto;
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(76px, 10vw, 136px) clamp(20px, 7vw, 104px);
  color: var(--cream);
  background: var(--indigo);
}

.contact-section .section-label {
  color: var(--brass);
}

.contact-section h2 {
  margin-bottom: 14px;
}

.monogram {
  display: grid;
  width: clamp(76px, 10vw, 116px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 20%;
  color: var(--ink);
  background: var(--cream);
  font-size: clamp(50px, 8vw, 78px);
  font-weight: 700;
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 7vw, 104px);
  border-top: 1px solid var(--line-dark);
  background: var(--cream);
}

.site-footer .wordmark {
  font-size: 24px;
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .site-header.is-open,
  .site-header.is-scrolled.is-open {
    color: var(--ink);
    background: rgba(244, 239, 227, 0.98);
    border-color: var(--line-dark);
    backdrop-filter: blur(14px);
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: clamp(16px, 5vw, 64px);
    right: clamp(16px, 5vw, 64px);
    display: grid;
    gap: 0;
    padding: 8px 0;
    border: 1px solid var(--line-dark);
    border-radius: 4px;
    color: var(--ink);
    background: rgba(244, 239, 227, 0.98);
    box-shadow: 0 22px 44px rgba(27, 24, 20, 0.18);
  }

  .site-header.is-open .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-dark);
  }

  .site-header.is-open .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .about-grid,
  .work-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 18px 16px;
  }

  .site-header .wordmark {
    font-size: 22px;
  }

  .header-action {
    font-size: 13px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero,
  .section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    max-width: none;
    font-size: 40px;
  }

  .hero .tagline {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }
}
