:root {
  --ink: #171611;
  --muted: #5d5951;
  --paper: #f1eee7;
  --white: #fffdf8;
  --gold: #a8773c;
  --line: rgba(23, 22, 17, 0.16);
  --max: 1320px;
  --side: clamp(20px, 5vw, 72px);
  --section: clamp(84px, 11vw, 150px);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: normal; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  min-height: 82px;
  margin: 0 auto;
  padding: 0 var(--side);
  gap: 28px;
}

.brand { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.brand span { color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.nav { display: flex; gap: 30px; color: var(--muted); font-size: 13px; }
.nav a:hover { color: var(--gold); }
.lang { justify-self: end; font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, .78fr);
  min-height: min(980px, 100svh);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(132px, 15vh, 170px) var(--side) 70px;
  gap: clamp(46px, 7vw, 100px);
  align-items: center;
}

.eyebrow, .kicker { margin: 0 0 20px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 730px; margin: 0 0 28px; font-size: clamp(55px, 7vw, 100px); line-height: .88; }
.lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.58; }
.hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; min-height: 54px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 13px; font-weight: 650; transition: transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.text-link { padding: 7px 0; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 650; }
.price { display: grid; grid-template-columns: auto 1fr; margin-top: clamp(44px, 7vh, 70px); padding-top: 22px; gap: 46px; border-top: 1px solid var(--line); align-items: end; }
.price span, .price p { color: var(--muted); font-size: 11px; line-height: 1.45; }
.price div { display: flex; flex-direction: column; gap: 5px; }
.price strong { font-family: var(--serif); font-size: 29px; font-weight: 400; white-space: nowrap; }
.price p { max-width: 300px; margin: 0; }
.hero figure { margin: 0; }
.hero__image { position: relative; min-height: 640px; overflow: hidden; background: #ded9d0; }
.hero__image::after { position: absolute; right: 18px; bottom: 18px; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(0,0,0,.32); color: white; font-family: var(--serif); content: "1/1"; backdrop-filter: blur(7px); }
.hero figcaption { display: flex; justify-content: space-between; margin: 0; padding: 14px 0; gap: 18px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.hero figcaption strong { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 400; }

.section { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--side); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); margin-bottom: clamp(50px, 7vw, 84px); gap: 70px; align-items: end; }
h2 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .94; }
.section__head > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.works { max-width: none; background: var(--white); }
.works > * { max-width: calc(var(--max) - 2 * var(--side)); margin-right: auto; margin-left: auto; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 26px; }
.work { margin: 0; }
.work__image { aspect-ratio: 4 / 5; overflow: hidden; background: #e8e4dc; }
.work:nth-child(2) .work__image, .work:nth-child(5) .work__image { aspect-ratio: 1; }
.work figcaption { display: flex; justify-content: space-between; padding-top: 14px; gap: 16px;  }
.work figcaption strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.work figcaption span { color: var(--muted); font-size: 11px; text-align: right; }

.directions { max-width: none; padding-right: max(var(--side), calc((100vw - var(--max)) / 2 + var(--side))); padding-left: max(var(--side), calc((100vw - var(--max)) / 2 + var(--side))); background: var(--ink); color: var(--white); }
.directions .section__head > p { color: rgba(255,253,248,.66); }
.direction-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.18); }
.direction { min-height: 390px; padding: clamp(32px, 5vw, 66px); }
.direction + .direction { border-left: 1px solid rgba(255,255,255,.18); }
.direction small { display: block; margin-bottom: 100px; color: var(--gold); font-size: 10px; line-height: normal; letter-spacing: .12em; }
.direction h3 { margin: 0 0 17px; font-size: clamp(34px, 3.5vw, 50px); line-height: 1; }
.direction p { max-width: 520px; margin: 0; color: rgba(255,253,248,.68); font-size: 16px; line-height: 1.65; }

.feature { display: grid; grid-template-columns: 1fr 1fr; background: #e5dfd4; }
.feature__image { min-height: 700px; }
.feature__copy { display: flex; padding: var(--section) max(var(--side), calc((100vw - var(--max)) / 2 + var(--side))) var(--section) clamp(42px, 7vw, 100px); flex-direction: column; justify-content: center; }
.feature__copy h2 { margin-bottom: 30px; }
.feature__copy p:not(.kicker) { max-width: 590px; margin: 0 0 17px; color: var(--muted); font-size: 17px; line-height: 1.65; }

.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.process-list li { display: grid; grid-template-columns: 64px minmax(180px, .55fr) 1fr; padding: 27px 0; gap: 28px; border-bottom: 1px solid var(--line); }
.process-list small { color: var(--gold); font-size: 10px; font-weight: 700; }
.process-list h3 { margin: 0; font-size: 29px; }
.process-list p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.about { display: grid; grid-template-columns: minmax(360px, .8fr) 1fr; max-width: none; padding: 0; background: #25231e; color: var(--white); }
.about__image { min-height: 720px; }
.about__copy { display: flex; padding: var(--section) max(var(--side), calc((100vw - var(--max)) / 2 + var(--side))) var(--section) clamp(44px, 8vw, 120px); flex-direction: column; justify-content: center; }
.about__copy h2 { margin-bottom: 30px; }
.about__copy p:not(.kicker) { max-width: 620px; margin: 0 0 17px; color: rgba(255,253,248,.7); font-size: 18px; line-height: 1.65; }

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .65fr); max-width: none; padding: 0; background: var(--ink); color: var(--white); }
.contact__main { padding: var(--section) clamp(44px, 7vw, 100px) var(--section) max(var(--side), calc((100vw - var(--max)) / 2 + var(--side))); }
.contact h2 { max-width: 800px; margin-bottom: 28px; }
.contact__main > p:not(.kicker) { max-width: 680px; color: rgba(255,253,248,.68); font-size: 18px; line-height: 1.65; }
.contact__actions { display: flex; margin-top: 34px; gap: 10px; flex-wrap: wrap; }
.contact .button { border-color: var(--white); background: var(--white); color: var(--ink); }
.contact .button--outline { background: transparent; color: var(--white); }
.international { display: flex; padding: clamp(44px, 6vw, 78px); border-left: 1px solid rgba(255,255,255,.18); background: #2b2923; flex-direction: column; justify-content: flex-end; }
.international::before { display: grid; width: 64px; height: 64px; margin-bottom: 150px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 24px; content: "↗"; }
.international h3 { margin: 0 0 16px; font-size: 38px; }
.international p { margin: 0; color: rgba(255,253,248,.62); font-size: 14px; line-height: 1.65; }

.footer { display: flex; max-width: var(--max); margin: 0 auto; padding: 42px var(--side); justify-content: space-between; gap: 28px; color: var(--muted); font-size: 11px; }
.footer a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__image { min-height: 0; aspect-ratio: 4 / 5; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .direction-grid, .feature, .about, .contact { grid-template-columns: 1fr; }
  .direction + .direction { border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .feature__image, .about__image { min-height: 0; aspect-ratio: 4 / 5; }
  .feature__copy, .about__copy, .contact__main { padding: var(--section) var(--side); }
  .process-list li { grid-template-columns: 48px minmax(170px, .6fr) 1fr; gap: 18px; }
  .international { min-height: 430px; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
}

@media (max-width: 580px) {
  :root { --side: 18px; --section: 76px; }
  .header__inner { min-height: 72px; }
  h1 { font-size: clamp(49px, 15vw, 66px); }
  h2 { font-size: clamp(44px, 13.5vw, 60px); }
  .hero { min-height: auto; padding-top: 112px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .price { grid-template-columns: 1fr; gap: 18px; }
  .hero figcaption { align-items: flex-start; flex-direction: column; }
  .works-grid { grid-template-columns: 1fr; }
  .direction { min-height: 0; padding: 34px 24px; }
  .direction small { margin-bottom: 54px; }
  .process-list li { grid-template-columns: 36px 1fr; }
  .process-list li p { grid-column: 2; }
  .contact__actions { flex-direction: column; }
  .international { padding: var(--section) var(--side); }
  .international::before { margin-bottom: 90px; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* WordPress integration */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--white);
  color: var(--ink);
}

.wp-site-blocks,
.site-main,
.entry-content { margin: 0; }
:where(.wp-block-group, .wp-block-image, .wp-block-buttons) { margin-top: 0; margin-bottom: 0; }
.wp-block-image img { vertical-align: middle; }

.nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 30px;
  list-style: none;
}
.nav__list li { margin: 0; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 21px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease;
}
.menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.admin-bar .header { top: 32px; }
.site-inner-page .header {
  position: relative;
  background: var(--paper);
}

.hero__copy { min-width: 0; }
.hero__actions .wp-block-buttons,
.contact__actions .wp-block-buttons { display: contents; }
.hero__actions .wp-block-button,
.contact__actions .wp-block-button { margin: 0; }
.wp-block-button__link.button { border-radius: 0; }
.wp-block-button__link.text-link {
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.hero__actions .wp-block-button.is-style-outline > .wp-block-button__link.text-link {
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid currentColor;
}
.price > .wp-block-group:first-child { display: flex; flex-direction: column; gap: 5px; }
.price > p { align-self: end; }
.price strong { display: block; line-height: normal; }
.hero__image { margin: 0; }
.hero__image img { min-height: 640px; }
.hero__image figcaption strong { margin-right: 18px; }
.hero__image figcaption span { float: right; }
figure.wp-block-image.hero__image::after { bottom: 68px; }

.works > .wp-block-group,
.works > .wp-block-levashin-works-grid,
.works > .works-grid {
  max-width: calc(var(--max) - 2 * var(--side));
  margin-right: auto;
  margin-left: auto;
}
.work__image { display: block; }
.work__image img { transition: transform .45s ease; }
.work__image:hover img { transform: scale(1.018); }
.work figcaption a:hover { color: var(--gold); }

.direction-grid > .direction { margin: 0; }
.direction-number { margin: 0; }
.feature__image,
.about__image { margin: 0; }

.process-list { border-top: 1px solid var(--ink); }
.process-item {
  display: grid;
  grid-template-columns: 64px minmax(180px, .55fr) 1fr;
  padding: 27px 0;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.process-item > * { margin: 0; }
.process-item .process-number { color: var(--gold); font-size: 10px; font-weight: 700; }
.process-item h3 { font-size: 29px; }
.process-item > p:last-child { max-width: 650px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.about__copy > p:not(.kicker),
.contact__main > p:not(.kicker) { margin-top: 0; }
.contact__actions { align-items: center; }

/* Standard pages and SEO landing pages */
.content-page {
  min-height: 65vh;
  padding: clamp(72px, 9vw, 120px) var(--side);
}
.content-page__article {
  max-width: 960px;
  margin: 0 auto;
}
.content-page__header { margin-bottom: 46px; }
.content-page h1,
.works-archive h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(52px, 7vw, 94px); font-weight: 400; line-height: .92; letter-spacing: -.045em; }
.content-page__body > * { max-width: 760px; }
.content-page__body > .alignwide { max-width: var(--max); }
.content-page__body p,
.content-page__body li { color: var(--muted); font-size: 17px; line-height: 1.72; }
.content-page__body h2 { margin: 70px 0 24px; font-size: clamp(38px, 5vw, 64px); }
.content-page__body h3 { margin: 42px 0 16px; font-size: 32px; }
.content-page__body .button { color: var(--white); }
.seo-hero { max-width: 960px; margin: 0 auto clamp(70px, 9vw, 120px); }
.seo-hero .lead { margin-top: 28px; }
.seo-section { max-width: 960px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) 0; }
.seo-section h2 { margin-bottom: 28px; }
.faq-list { max-width: 960px; margin: 0 auto; }
.faq-list details { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { font-family: var(--serif); font-size: 27px; cursor: pointer; }
.faq-list details p { max-width: 720px; color: var(--muted); line-height: 1.7; }
.press-grid,
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.press-card,
.testimonial-card { padding: 30px; border: 1px solid var(--line); }

/* Legal */
.legal { max-width: 880px; margin: 0 auto; padding: 72px var(--side) 100px; }
.legal__back { display: inline-block; margin-bottom: 66px; color: var(--muted); font-size: 13px; }
.legal h1 { margin-bottom: 38px; font-size: clamp(46px, 7vw, 76px); }
.legal h2 { margin: 42px 0 14px; font-size: 31px; }
.legal p,
.legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal__note { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px !important; }

/* Work archive and single work */
.works-archive { padding-top: clamp(72px, 9vw, 120px); }
.work-single { min-height: 80vh; }
.work-single__article { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); }
.work-single__media { min-height: calc(100svh - 82px); background: var(--white); }
.work-single__media img { min-height: calc(100svh - 82px); }
.work-single__copy { padding: clamp(70px, 8vw, 130px) max(var(--side), calc((100vw - var(--max)) / 2 + var(--side))) clamp(70px, 8vw, 130px) clamp(40px, 7vw, 96px); }
.work-single__back { display: inline-block; margin-bottom: 70px; color: var(--muted); font-size: 13px; }
.work-single h1 { margin: 0 0 34px; font-size: clamp(56px, 7vw, 92px); }
.work-meta { margin: 0 0 42px; border-top: 1px solid var(--line); }
.work-meta > div { display: grid; grid-template-columns: 120px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line); }
.work-meta dt { color: var(--muted); font-size: 12px; }
.work-meta dd { margin: 0; font-size: 14px; }
.work-single__content { margin-bottom: 36px; }
.work-single__content p { color: var(--muted); font-size: 17px; line-height: 1.7; }

/* Fluent Forms and consent banner */
.nl-form-wrap { max-width: 860px; margin: 0 auto; padding: var(--section) var(--side); }
.nl-form-wrap .ff-el-form-control {
  min-height: 50px;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: var(--white) !important;
  color: var(--ink) !important;
}
.nl-form-wrap textarea.ff-el-form-control { min-height: 170px; }
.nl-form-wrap .ff-btn-submit { min-height: 54px; padding: 0 26px; border: 1px solid var(--ink) !important; border-radius: 0 !important; background: var(--ink) !important; color: var(--white) !important; }
.nl-cookie {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(430px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(23, 22, 17, .17);
}
.nl-cookie[hidden] { display: none; }
.nl-cookie p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.nl-cookie__actions { display: flex; gap: 8px; }
.nl-cookie button { min-height: 42px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--white); font-weight: 650; cursor: pointer; }
.nl-cookie button:last-child { background: transparent; color: var(--ink); }

@media (max-width: 900px) {
  .admin-bar .header { top: 46px; }
  .header__inner { position: relative; grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 22px var(--side) 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .nav--open { display: block; }
  .nav__list { align-items: flex-start; flex-direction: column; gap: 18px; font-size: 16px; }
  .menu-is-open { overflow: hidden; }
  figure.wp-block-image.hero__image { min-height: 0; overflow: visible; aspect-ratio: auto; background: transparent; }
  figure.wp-block-image.hero__image > img { height: auto; min-height: 0; aspect-ratio: 4 / 5; background: #ded9d0; }
  figure.wp-block-image.hero__image::after { bottom: 65px; }
  .hero__image img { min-height: 0; }
  .process-item { grid-template-columns: 48px minmax(170px, .6fr) 1fr; gap: 18px; }
  .work-single__article { grid-template-columns: 1fr; }
  .work-single__media,
  .work-single__media img { min-height: 0; aspect-ratio: 4 / 5; }
  .work-single__copy { padding: var(--section) var(--side); }
  .press-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .admin-bar .header { top: 46px; }
  .hero__actions .wp-block-button { line-height: 0; }
  .hero__actions .wp-block-button.is-style-outline { width: auto; align-self: flex-start; }
  .hero__actions .wp-block-button.is-style-outline > .wp-block-button__link.text-link { width: auto; padding: 7px 0; line-height: normal; }
  .process-item { grid-template-columns: 36px 1fr; }
  .process-item > p:last-child { grid-column: 2; }
  .hero__image figcaption span { float: none; display: block; margin-top: 0; }
  figure.wp-block-image.hero__image::after { bottom: 98px; }
  .work-single__back { margin-bottom: 44px; }
  .nl-cookie__actions { flex-direction: column; }
}

@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
