:root {
  --ink: #1d1d1b;
  --muted: #6f6a62;
  --paper: #f7f3ed;
  --paper-strong: #fffdf8;
  --line: #b9b1a8;
  --mist: #d1d0cc;
  --charcoal: #141414;
  --accent: #8d806f;
  --serif: Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--paper-strong);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgba(20, 20, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: block;
  width: clamp(178px, 22vw, 252px);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.main-nav {
  position: fixed;
  inset: 76px 18px auto;
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px;
  background: rgba(20, 20, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.main-nav.is-open {
  display: grid;
}

.main-nav a {
  padding: 13px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  min-height: 96vh;
  display: grid;
  place-items: center;
  padding: 120px 20px 96px;
  color: var(--paper-strong);
  text-align: center;
  background:
    linear-gradient(rgba(12, 12, 12, 0.68), rgba(12, 12, 12, 0.7)),
    url("assets/hero.jpg") center / cover;
}

.hero__inner,
.story-hero > div {
  width: min(900px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.94;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 10vw, 7.1rem);
}

.hero-title--compact {
  width: min(980px, 100%);
  margin-inline: auto;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2.6vw, 2.35rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 8vw, 5.8rem);
}

h3 {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero p,
.story-hero p {
  width: min(760px, 100%);
  margin-inline: auto;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  font-size: clamp(0.78rem, 1.4vw, 1rem) !important;
  letter-spacing: 0.12em;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.button--light {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.split-section,
.story-section,
.contact {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.split-section__copy,
.story-section__copy,
.contact__content {
  display: grid;
  align-content: center;
  padding: clamp(54px, 8vw, 112px) clamp(22px, 6vw, 86px);
  text-align: center;
}

.split-section__copy p,
.story-section__copy p,
.pricing > p,
.blog-preview > p,
.portfolio > p,
.contact__content > p {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.image-frame {
  margin: 0;
  padding: clamp(18px, 3vw, 44px);
  border-top: 1px solid var(--line);
}

.image-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.services {
  display: grid;
  color: var(--paper-strong);
  background: var(--charcoal);
}

.services__intro {
  min-height: 520px;
  display: grid;
  align-content: center;
  padding: 78px 24px;
  text-align: center;
  background:
    linear-gradient(rgba(12, 12, 12, 0.52), rgba(12, 12, 12, 0.58)),
    url("assets/process.jpg") center / cover;
}

.service-list {
  display: grid;
  color: var(--ink);
  background: var(--mist);
}

.service-list article,
.article-grid article,
.price-grid article,
.values article {
  padding: 28px 24px;
  border-bottom: 1px solid #77736d;
}

.service-list p,
.article-grid p,
.price-grid p,
.values p,
blockquote p,
details p {
  margin-bottom: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portfolio,
.testimonials,
.blog-preview,
.pricing {
  padding: clamp(58px, 8vw, 102px) 0 0;
  text-align: center;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.portfolio > p,
.blog-preview > p,
.pricing > p {
  width: min(760px, calc(100% - 44px));
  margin-inline: auto;
}

.portfolio-grid,
.quote-grid,
.article-grid,
.price-grid,
.values {
  display: grid;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.portfolio-grid article {
  display: grid;
  border-bottom: 1px solid var(--line);
}

.portfolio-grid img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: grayscale(0.08);
}

.portfolio-grid p {
  min-height: 86px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  font-size: 0.78rem;
  font-weight: 700;
}

.testimonials {
  padding-bottom: 0;
}

blockquote {
  margin: 0;
  padding: clamp(38px, 6vw, 82px) 24px;
  border-bottom: 1px solid var(--line);
}

cite {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
}

.blog-preview {
  background: var(--mist);
}

.article-grid,
.price-grid,
.values {
  text-align: left;
}

.article-grid article,
.price-grid article,
.values article {
  min-height: 180px;
  display: grid;
  align-content: center;
  background: rgba(255, 255, 255, 0.28);
}

.process {
  color: var(--paper-strong);
  background:
    linear-gradient(rgba(12, 12, 12, 0.42), rgba(12, 12, 12, 0.58)),
    url("assets/process.jpg") center / cover;
}

.process__inner {
  padding: clamp(64px, 10vw, 132px) 22px;
  text-align: center;
}

.steps {
  display: grid;
  gap: 20px;
  width: min(1040px, 100%);
  margin: 42px auto 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 8px;
  padding: 18px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.steps span {
  font-family: var(--serif);
  font-size: 2rem;
}

.steps strong,
.steps small {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps small {
  font-weight: 600;
}

.pricing {
  padding-bottom: clamp(58px, 8vw, 98px);
}

.price-grid article {
  text-align: center;
}

.faq-contact {
  display: grid;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.faq-title {
  min-height: 470px;
  display: grid;
  align-content: center;
  padding: 56px 24px;
  color: var(--paper-strong);
  text-align: center;
  background:
    linear-gradient(rgba(12, 12, 12, 0.7), rgba(12, 12, 12, 0.74)),
    url("assets/hero.jpg") center / cover;
}

.faq-list {
  display: grid;
}

details {
  padding: 32px 24px;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

details p {
  margin-top: 18px;
}

.contact {
  background: var(--mist);
}

.contact__image {
  margin: 0;
  padding: 22px;
}

.contact__image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  margin: 12px auto 32px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #8d8780;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.48);
  padding: 13px 12px;
  color: var(--ink);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .form-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.68rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form .form-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.form-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

address {
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.legal-page {
  min-height: 100vh;
  padding: 130px 22px 72px;
  background: var(--paper-strong);
}

.legal-content {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

.legal-content h2 {
  margin-top: 42px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.legal-content p,
.legal-content li {
  color: #2f2d29;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-note {
  margin: 30px 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}

.service-page {
  min-height: 100vh;
  padding-top: 92px;
  background: var(--paper-strong);
}

.service-page__hero,
.service-page__content,
.service-page__cta {
  padding: 64px 22px;
}

.service-page__hero {
  color: var(--paper);
  background: #1b1b1a;
}

.service-page__hero > div,
.service-page__content > div,
.service-page__cta > div {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.service-page__hero h1 {
  max-width: 880px;
  margin: 18px 0 24px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.service-page__hero p:not(.eyebrow) {
  max-width: 720px;
  color: #e5e1da;
}

.service-page__content h2,
.service-page__cta h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.service-page__grid {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-page__grid article {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-page__grid p,
.service-page__content > div > p {
  color: #393733;
}

.service-page__cta {
  background: var(--mist);
}

.service-page__cta .button {
  margin-top: 22px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
  color: var(--paper-strong);
  background: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.story-hero {
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 120px 22px 80px;
  color: var(--paper-strong);
  text-align: center;
  background:
    linear-gradient(rgba(12, 12, 12, 0.44), rgba(12, 12, 12, 0.56)),
    url("assets/story-hero.jpg") center / cover;
}

.story-section {
  background: var(--paper-strong);
}

.values {
  margin: 0;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.values span {
  font-family: var(--serif);
  font-size: 2.4rem;
}

.story-cta {
  padding: clamp(72px, 10vw, 130px) 22px;
  color: var(--paper-strong);
  text-align: center;
  background:
    linear-gradient(rgba(12, 12, 12, 0.46), rgba(12, 12, 12, 0.58)),
    url("assets/story-detail.jpg") center / cover;
}

.consent-banner,
.consent-settings {
  position: fixed;
  z-index: 1000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 760px;
  margin-inline: auto;
  padding: 24px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.consent-banner[hidden],
.consent-settings[hidden] {
  display: none;
}

.consent-banner h2,
.consent-settings h2 {
  margin: 4px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 400;
  line-height: 0.96;
}

.consent-banner p,
.consent-settings p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.consent-banner a {
  color: inherit;
  font-weight: 700;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.consent-actions .button {
  flex: 1 1 150px;
  min-height: 48px;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.consent-actions .button--secondary {
  color: var(--ink);
  background: transparent;
}

.consent-settings__header,
.consent-option {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.consent-close,
.footer-consent {
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.consent-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  font-size: 2rem;
}

.consent-option {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.consent-option p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.consent-option span {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.consent-option input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--ink);
}

.footer-consent {
  padding: 0;
  font: inherit;
  text-decoration: underline;
}

@media (min-width: 720px) {
  .service-page__hero,
  .service-page__content,
  .service-page__cta {
    padding: 88px 42px;
  }

  .service-page__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav {
    position: static;
    display: flex;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-toggle {
    display: none;
  }

  .split-section,
  .story-section,
  .contact,
  .services,
  .faq-contact {
    grid-template-columns: 1fr 1fr;
  }

  .image-frame {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .service-list article {
    min-height: 130px;
  }

  .portfolio-grid,
  .quote-grid,
  .article-grid,
  .price-grid,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid article,
  .quote-grid blockquote,
  .article-grid article,
  .price-grid article,
  .values article {
    border-right: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .contact__image {
    padding: 36px;
  }
}

@media (min-width: 1040px) {
  .hero {
    min-height: 92vh;
  }

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

  .service-list article {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    align-items: center;
    padding: 32px 44px;
  }

  .values {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
