:root {
  --sofa-bg: #ffffff;
  --sofa-paper: #ffffff;
  --sofa-ink: #101010;
  --sofa-muted: #717171;
  --sofa-line: #d5d5d5;
  --sofa-accent: #101010;
  --sofa-dark: #111111;
  --sofa-header: 84px;
  --sofa-shell: min(1480px, calc(100% - 56px));
  --sofa-gap: clamp(18px, 2vw, 34px);
  --sofa-section: clamp(68px, 7vw, 108px);
  --sofa-ease: cubic-bezier(.22, 1, .36, 1);
  --sofa-font-body: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-hero: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-page-title: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-label: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-menu: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-project-card-title: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-project-title: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-project-lead: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-font-project-description: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sofa-size-body: 16px;
  --sofa-size-entry-body: 17px;
  --sofa-size-secondary: 15px;
  --sofa-size-small-body: 13px;
  --sofa-size-hero-title: 88px;
  --sofa-size-page-title: 110px;
  --sofa-size-archive-title: 122px;
  --sofa-size-entry-title: 90px;
  --sofa-size-about-title: 96px;
  --sofa-size-contact-title: 100px;
  --sofa-size-label: 11px;
  --sofa-size-menu: 13px;
  --sofa-size-project-card-title: 18px;
  --sofa-size-project-title: 104px;
  --sofa-size-project-lead: 42px;
  --sofa-size-project-description: 17px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sofa-bg);
  color: var(--sofa-ink);
  font-family: var(--sofa-font-body);
  font-size: var(--sofa-size-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open,
body.project-lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p, blockquote, dl, dd { margin-top: 0; }
h1, h2, h3, blockquote { font-family: var(--sofa-font-page-title); }
::selection { background: var(--sofa-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--sofa-accent); outline-offset: 4px; }

.shell { width: var(--sofa-shell); margin-inline: auto; }
.section { padding-block: var(--sofa-section); }
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 10px 15px;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 12px; }
.eyebrow,
.hero-kicker,
.section-marker,
.footer-label {
  font-family: var(--sofa-font-label);
  font-size: var(--sofa-size-label);
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.text-link:hover { color: var(--sofa-accent); }
.text-link--light:hover { color: #d9937f; }
.project-filters__label,
.project-filters label > span,
.project-filters__actions,
.project-hero__meta,
.project-facts dt,
.project-navigation span,
.contact-info span,
.contact-form label > span,
.footer-bottom { font-family: var(--sofa-font-label); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--sofa-header);
  border-bottom: 1px solid rgba(23, 24, 22, .18);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 25px rgba(18, 20, 17, .07); }
.site-header--static { position: relative; }
.site-header__inner { display: flex; align-items: center; height: 100%; }
.site-brand { flex: 0 0 auto; margin-right: auto; }
.custom-logo-link { display: flex; align-items: center; max-width: 250px; }
.custom-logo { width: auto; max-width: 250px; max-height: 68px; }
.wordmark { display: flex; flex-direction: column; gap: 0; line-height: 1; }
.wordmark__main { font-size: 24px; font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; }
.wordmark__sub { margin-top: 4px; font-size: 7px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 54px); }
.site-nav .menu,
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
  display: block;
  padding: 26px 0 25px;
  font-family: var(--sofa-font-menu);
  font-size: var(--sofa-size-menu);
  font-weight: 560;
  letter-spacing: .02em;
}
.site-nav .menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: var(--sofa-ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--sofa-ease);
}
.site-nav .menu > li:hover > a::after,
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.site-nav .sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: -18px;
  display: block;
  visibility: hidden;
  min-width: 210px;
  padding: 12px 18px 14px;
  border: 1px solid var(--sofa-line);
  background: var(--sofa-paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.site-nav .sub-menu li + li { border-top: 1px solid var(--sofa-line); }
.site-nav .sub-menu a { display: block; padding: 10px 0; font-family: var(--sofa-font-menu); font-size: max(11px, calc(var(--sofa-size-menu) - 1px)); }
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.site-nav__contact {
  padding: 11px 16px;
  border: 1px solid var(--sofa-ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.site-nav__contact:hover { background: var(--sofa-ink); color: #fff; }
.nav-toggle { display: none; padding: 0; border: 0; background: none; cursor: pointer; }

/* Hero */
.home-hero {
  position: relative;
  height: min(760px, calc(100vh - var(--sofa-header)));
  min-height: 570px;
  overflow: hidden;
  background: var(--sofa-dark);
  color: #fff;
}
.home-hero__image,
.project-hero__image { width: 100%; height: 100%; object-fit: cover; }
.home-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 10, .68) 0%, rgba(10, 12, 10, .19) 60%, rgba(10, 12, 10, .08) 100%);
}
.home-hero__content {
  position: absolute;
  right: 0;
  bottom: clamp(48px, 7vw, 92px);
  left: 0;
}
.hero-kicker { margin-bottom: 20px; color: rgba(255, 255, 255, .76); }
.home-hero h1 {
  max-width: 950px;
  margin-bottom: 30px;
  font-family: var(--sofa-font-hero);
  font-size: clamp(42px, 5.7vw, var(--sofa-size-hero-title));
  font-weight: 430;
  letter-spacing: -.055em;
  line-height: .99;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  font-size: 13px;
  font-weight: 600;
}
.hero-link span { font-size: 20px; transition: transform .25s var(--sofa-ease); }
.hero-link:hover span { transform: translate(4px, 4px); }
/* Intro */
.studio-intro,
.services-section { display: block; }
.section-marker { padding-top: 7px; color: var(--sofa-muted); }
.studio-intro__content { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr); gap: clamp(40px, 8vw, 130px); }
.studio-intro h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.1vw, 63px);
  font-weight: 430;
  letter-spacing: -.048em;
  line-height: 1.05;
}
.studio-intro__text { max-width: 430px; padding-top: 7px; }
.studio-intro__text p { margin-bottom: 25px; color: #444641; font-size: var(--sofa-size-entry-body); line-height: 1.7; }

/* Projects */
.projects-section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; padding-top: 18px; border-top: 1px solid var(--sofa-line); }
.section-head .section-marker { padding-top: 0; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--sofa-gap); }
.project-card { grid-column: span 6; min-width: 0; }
.project-card:nth-child(4n + 1) { grid-column: span 7; }
.project-card:nth-child(4n + 2) { grid-column: span 5; }
.project-card:nth-child(4n + 3) { grid-column: span 5; }
.project-card:nth-child(4n + 4) { grid-column: span 7; }
.project-card__image-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #dad8d1; }
.project-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sofa-ease); }
.project-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--sofa-paper);
  font-size: 19px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s var(--sofa-ease);
}
.project-card a:hover img,
.project-card--demo:hover img { transform: scale(1.025); }
.project-card a:hover .project-card__arrow,
.project-card--demo:hover .project-card__arrow { opacity: 1; transform: translateY(0); }
.project-card__meta { display: flex; justify-content: space-between; gap: 24px; padding-top: 13px; }
.project-card__meta h2,
.project-card__meta h3 { margin-bottom: 2px; font-family: var(--sofa-font-project-card-title); font-size: var(--sofa-size-project-card-title); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.project-card__meta p { margin-bottom: 0; color: var(--sofa-muted); font-family: var(--sofa-font-label); font-size: var(--sofa-size-label); letter-spacing: .04em; }
.project-card__meta > p { padding-top: 3px; text-align: right; }
.project-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #d2d0c8, #e5e3dd); }

/* Services */
.service-list { border-top: 1px solid var(--sofa-line); }
.service-item { display: grid; grid-template-columns: minmax(210px, 3fr) minmax(280px, 5fr); gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--sofa-line); }
.service-item h3 { margin-bottom: 0; font-size: clamp(22px, 2vw, 31px); font-weight: 480; letter-spacing: -.03em; line-height: 1.15; }
.service-item p { max-width: 620px; margin-bottom: 0; color: var(--sofa-muted); font-size: var(--sofa-size-secondary); }

/* Team */
.team-section { padding-top: 0; }
.team-grid { display: grid; gap: var(--sofa-gap); }
.team-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-card { min-width: 0; }
.team-card__image { display: grid; aspect-ratio: 4 / 5; place-items: center; overflow: hidden; background: #e8e8e6; }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; transition: filter .35s ease, transform .6s var(--sofa-ease); }
.team-card:hover .team-card__image img { transform: scale(1.018); }
.team-card__image > span { color: #b5b5b0; font-size: clamp(70px, 9vw, 140px); font-weight: 700; letter-spacing: -.08em; }
.team-card__content { padding-top: 13px; }
.team-card__content h3 { margin-bottom: 3px; font-size: 19px; font-weight: 580; letter-spacing: -.025em; }
.team-card__role { margin-bottom: 0; color: var(--sofa-muted); font-size: 11px; letter-spacing: .04em; }
.team-card__bio { max-width: 430px; margin: 15px 0 0; color: var(--sofa-muted); font-size: var(--sofa-size-small-body); }
.team-card__links { display: flex; gap: 14px; margin-top: 14px; }
.team-card__links a { padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 600; }
.team-grid--2 .team-card { display: grid; grid-template-columns: minmax(180px, 4fr) minmax(0, 6fr); border-top: 1px solid var(--sofa-line); }
.team-grid--2 .team-card__content { padding: 18px; }

/* Statement */
.home-statement { display: grid; grid-template-columns: 58% 42%; min-height: 620px; background: var(--sofa-dark); color: #fff; }
.home-statement__image { min-height: 520px; overflow: hidden; }
.home-statement__image img { width: 100%; height: 100%; object-fit: cover; }
.home-statement__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px); }
.home-statement__content .eyebrow { margin-bottom: 36px; color: #a9aea8; }
.home-statement blockquote { margin-bottom: 44px; font-size: clamp(32px, 3.5vw, 57px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.home-statement .text-link { align-self: flex-start; }

/* Archive */
.archive-main { padding-bottom: var(--sofa-section); }
.archive-hero { padding-top: clamp(65px, 8vw, 120px); padding-bottom: 54px; }
.archive-hero h1 { margin-bottom: 0; font-family: var(--sofa-font-page-title); font-size: clamp(58px, 8vw, var(--sofa-size-archive-title)); font-weight: 410; letter-spacing: -.065em; line-height: .9; }
.archive-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 15px 0 35px; border-top: 1px solid var(--sofa-line); }
.archive-filters a { padding: 8px 13px; border: 1px solid var(--sofa-line); font-size: 11px; }
.archive-filters a:hover,
.archive-filters a.is-active { border-color: var(--sofa-ink); background: var(--sofa-ink); color: #fff; }
.project-filters {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) minmax(0, 8fr) minmax(120px, 2fr);
  gap: var(--sofa-gap);
  align-items: end;
  margin-bottom: 34px;
  padding: 17px 0 20px;
  border-top: 1px solid var(--sofa-line);
  border-bottom: 1px solid var(--sofa-line);
}
.project-filters__label { display: flex; flex-direction: column; gap: 4px; padding-bottom: 9px; }
.project-filters__label span { font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.project-filters__label small { color: var(--sofa-muted); font-size: 10px; }
.project-filters__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.project-filters label > span { display: block; margin-bottom: 5px; color: var(--sofa-muted); font-size: 9px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.project-filters select {
  width: 100%;
  height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid var(--sofa-line);
  border-radius: 0;
  background-color: #fff;
  color: var(--sofa-ink);
  font-size: 12px;
}
.project-filters__actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.project-filters__actions button { height: 40px; padding: 0 18px; border: 1px solid var(--sofa-ink); background: var(--sofa-ink); color: #fff; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.project-filters__actions button:hover { background: #333; }
.project-filters__actions a { font-size: 10px; font-weight: 600; border-bottom: 1px solid currentColor; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px var(--sofa-gap); }
.archive-grid .project-card { grid-column: auto; }
.pagination { margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--sofa-line); }
.nav-links { display: flex; gap: 8px; }
.page-numbers { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--sofa-line); font-size: 12px; }
.page-numbers.current,
.page-numbers:hover { background: var(--sofa-ink); color: #fff; }
.empty-state { padding: 80px 0; border-top: 1px solid var(--sofa-line); }
.empty-state h2 { margin-bottom: 7px; font-size: 34px; font-weight: 450; }
.empty-state p { color: var(--sofa-muted); }

/* Single project */
.project-hero { position: relative; height: min(760px, calc(100vh - var(--sofa-header))); min-height: 540px; background: #232522; color: #fff; }
.project-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 13, 11, .68), transparent 60%); }
.project-hero__content { position: absolute; right: 0; bottom: 54px; left: 0; }
.project-hero__meta { display: flex; gap: 18px; align-items: center; margin-bottom: 12px; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.project-hero__meta a { padding-bottom: 2px; border-bottom: 1px solid rgba(255, 255, 255, .7); }
.project-hero__meta span { color: rgba(255, 255, 255, .72); }
.project-hero__content h1 { max-width: 1050px; margin-bottom: 0; font-family: var(--sofa-font-project-title); font-size: clamp(52px, 7vw, var(--sofa-size-project-title)); font-weight: 420; letter-spacing: -.06em; line-height: .92; }
.project-body { display: grid; grid-template-columns: 3fr 9fr; gap: var(--sofa-gap); padding-block: var(--sofa-section); }
.project-body--wide { grid-template-columns: 1fr; }
.project-body--wide .project-content { max-width: 970px; margin-inline: auto; padding-left: 0; }
.project-facts { margin: 0; padding-right: var(--sofa-gap); border-right: 1px solid var(--sofa-line); }
.project-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--sofa-line); }
.project-facts dt { color: var(--sofa-muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: 13px; }
.project-content { max-width: 970px; padding-left: clamp(10px, 5vw, 80px); }
.project-lead { margin-bottom: 46px !important; font-family: var(--sofa-font-project-lead); font-size: clamp(24px, 3vw, var(--sofa-size-project-lead)) !important; letter-spacing: -.035em; line-height: 1.18 !important; }
.project-content .gallery { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; margin: 42px 0 !important; }
.project-content .gallery-item { float: none !important; width: 100% !important; margin: 0 !important; }
.project-content .gallery-icon { overflow: hidden; aspect-ratio: 16 / 9; }
.project-content .gallery img { width: 100%; height: 100%; border: 0 !important; object-fit: cover; }
.project-gallery { max-width: none !important; margin: 42px 0 !important; font-family: var(--sofa-font-body); }
.project-gallery__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #e5e4df; }
.project-gallery__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; }
.project-gallery__image { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s ease; }
.project-gallery__expand { position: absolute; right: 14px; bottom: 14px; padding: 9px 12px; background: rgba(16, 16, 16, .82); color: #fff; font-size: 9px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.project-gallery__nav { position: absolute; top: 50%; z-index: 2; display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 0; background: rgba(255, 255, 255, .94); font-size: 20px; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, color .2s ease; }
.project-gallery__nav:hover { background: var(--sofa-ink); color: #fff; }
.project-gallery__nav--previous { left: 14px; }
.project-gallery__nav--next { right: 14px; }
.project-gallery__meta { display: grid; grid-template-columns: auto 1fr; gap: 22px; min-height: 39px; padding: 10px 0 8px; border-bottom: 1px solid var(--sofa-line); color: var(--sofa-muted); font-size: 10px; letter-spacing: .04em; }
.project-gallery__counter { color: var(--sofa-ink); font-variant-numeric: tabular-nums; }
.project-gallery__caption { text-align: right; }
.project-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; padding-bottom: 3px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.project-gallery__thumb { flex: 0 0 clamp(104px, 18%, 150px); padding: 3px; border: 1px solid transparent; background: transparent; opacity: .52; cursor: pointer; scroll-snap-align: start; transition: border-color .2s ease, opacity .2s ease; }
.project-gallery__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-gallery__thumb:hover,
.project-gallery__thumb[aria-current="true"] { border-color: var(--sofa-ink); opacity: 1; }
.project-gallery.is-single .project-gallery__nav,
.project-gallery.is-single .project-gallery__thumbs { display: none; }

.project-lightbox[hidden] { display: none; }
.project-lightbox { position: fixed; z-index: 10000; inset: 0; display: grid; padding: 42px clamp(62px, 7vw, 130px); place-items: center; background: rgba(10, 10, 10, .97); color: #fff; }
.project-lightbox__figure { display: grid; max-width: 100%; margin: 0; place-items: center; touch-action: pan-y; }
.project-lightbox__image { width: auto; max-width: 100%; max-height: calc(100svh - 145px); object-fit: contain; user-select: none; }
.project-lightbox__caption { max-width: 850px; margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 11px; text-align: center; }
.project-lightbox__close,
.project-lightbox__nav { position: absolute; z-index: 2; display: grid; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .42); background: rgba(16, 16, 16, .38); color: #fff; cursor: pointer; transition: background .2s ease, color .2s ease; }
.project-lightbox__close:hover,
.project-lightbox__nav:hover { background: #fff; color: #101010; }
.project-lightbox__close { top: 22px; right: 22px; width: 45px; height: 45px; font-size: 28px; font-weight: 300; }
.project-lightbox__nav { top: 50%; width: 48px; height: 48px; font-size: 21px; transform: translateY(-50%); }
.project-lightbox__nav--previous { left: 22px; }
.project-lightbox__nav--next { right: 22px; }
.project-lightbox__counter { position: absolute; bottom: 22px; left: 22px; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.project-navigation { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--sofa-line); }
.project-navigation > div { min-height: 150px; }
.project-navigation > div + div { border-left: 1px solid var(--sofa-line); text-align: right; }
.project-navigation a { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 30px; font-size: 20px; font-weight: 550; }
.project-navigation span { margin-bottom: 7px; color: var(--sofa-muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }

/* Generic content */
.entry-content { font-size: var(--sofa-size-entry-body); line-height: 1.75; }
.entry-content.project-content { font-family: var(--sofa-font-project-description); font-size: var(--sofa-size-project-description); }
.entry-content > * { max-width: 820px; }
.entry-content > .alignwide { max-width: 1160px; }
.entry-content > .alignfull { max-width: none; }
.entry-content p { margin-bottom: 1.45em; }
.entry-content h2 { margin: 1.5em 0 .55em; font-size: clamp(30px, 3.2vw, 48px); font-weight: 460; letter-spacing: -.04em; line-height: 1.1; }
.entry-content h3 { margin: 1.35em 0 .5em; font-size: 25px; font-weight: 550; letter-spacing: -.025em; line-height: 1.2; }
.entry-content a { border-bottom: 1px solid currentColor; }
.entry-content figure { margin-block: 38px; }
.entry-content .wp-block-gallery { max-width: none; gap: 12px !important; }
.entry-content figcaption { color: var(--sofa-muted); font-size: 11px; }
.page-main,
.single-entry,
.journal,
.contact-page { padding-bottom: var(--sofa-section); }
.page-title { display: grid; grid-template-columns: 2fr 10fr; gap: var(--sofa-gap); padding: 85px 0 48px; border-bottom: 1px solid var(--sofa-line); }
.page-title h1 { margin: 0; font-family: var(--sofa-font-page-title); font-size: clamp(54px, 8vw, var(--sofa-size-page-title)); font-weight: 410; letter-spacing: -.065em; line-height: .92; }
.page-content { max-width: 920px; margin: 55px auto 0; }

/* Journal */
.archive-hero--compact { width: 100%; padding-bottom: 45px; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px var(--sofa-gap); padding-top: 26px; border-top: 1px solid var(--sofa-line); }
.journal-card__image { margin-bottom: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.journal-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sofa-ease); }
.journal-card a:hover img { transform: scale(1.025); }
.journal-card__date { margin-bottom: 9px; color: var(--sofa-muted); font-size: 10px; letter-spacing: .08em; }
.journal-card h2 { margin-bottom: 9px; font-size: 24px; font-weight: 520; letter-spacing: -.035em; line-height: 1.18; }
.journal-card .wp-block-post-excerpt,
.journal-card > a > p:last-child { color: var(--sofa-muted); font-size: 13px; }
.single-entry { max-width: 1180px; }
.single-entry__header { max-width: 980px; padding: 85px 0 55px; }
.single-entry__header h1 { margin-bottom: 20px; font-family: var(--sofa-font-page-title); font-size: clamp(48px, 6.4vw, var(--sofa-size-entry-title)); font-weight: 420; letter-spacing: -.06em; line-height: .95; }
.single-entry__header > p:last-child { max-width: 700px; color: var(--sofa-muted); font-size: 18px; }
.single-entry__image { aspect-ratio: 16 / 9; overflow: hidden; }
.single-entry__image img { width: 100%; height: 100%; object-fit: cover; }
.single-entry__content { max-width: 820px; margin: 55px auto 0; }

/* About */
.about-hero { display: block; padding: 75px 0 52px; }
.about-hero h1 { max-width: 1120px; margin: 0; font-family: var(--sofa-font-page-title); font-size: clamp(48px, 6.7vw, var(--sofa-size-about-title)); font-weight: 410; letter-spacing: -.06em; line-height: .96; }
.about-image { aspect-ratio: 16 / 7; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: block; }
.about-copy .entry-content { display: grid; grid-template-columns: 6fr 4fr; gap: clamp(40px, 8vw, 120px); max-width: none; }
.about-copy h2 { margin: 0; font-size: clamp(34px, 4.3vw, 62px); }
.about-copy p { padding-top: 8px; }
.about-copy__additional { grid-column: 1 / -1; max-width: none !important; padding-top: 30px; border-top: 1px solid var(--sofa-line); }
.about-copy__additional > * { max-width: 820px; }
.about-copy__additional > :last-child { margin-bottom: 0; }

/* Contact */
.contact-header { padding: 76px 0 50px; }
.contact-header h1 { max-width: 1000px; margin: 0; font-family: var(--sofa-font-page-title); font-size: clamp(52px, 7vw, var(--sofa-size-contact-title)); font-weight: 410; letter-spacing: -.06em; line-height: .95; }
.contact-layout { display: grid; grid-template-columns: 4fr 8fr; gap: var(--sofa-gap); padding-top: 28px; border-top: 1px solid var(--sofa-line); }
.contact-info { padding-right: 40px; }
.contact-info > div { padding: 13px 0; border-bottom: 1px solid var(--sofa-line); }
.contact-info span { display: block; margin-bottom: 5px; color: var(--sofa-muted); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.contact-info a,
.contact-info p { margin: 0; font-size: 14px; }
.contact-form-wrap { max-width: 820px; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
.contact-form label { display: block; }
.contact-form label:nth-of-type(4) { grid-column: 1 / -1; }
.contact-form label > span { display: block; margin-bottom: 7px; color: var(--sofa-muted); font-size: 10px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #999a94; border-radius: 0; outline: 0; background: transparent; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--sofa-accent); }
.contact-form button,
.button-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; width: max-content; min-width: 190px; padding: 13px 16px; border: 1px solid var(--sofa-ink); background: transparent; cursor: pointer; }
.contact-form button:hover,
.button-link:hover { background: var(--sofa-ink); color: #fff; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 25px; padding: 13px 16px; border: 1px solid var(--sofa-line); font-size: 13px; }
.form-notice--success { border-color: #55745a; background: #e1e9e0; }
.form-notice--error { border-color: #965e50; background: #eee0dc; }

/* Footer and 404 */
.site-footer { padding-top: clamp(60px, 7vw, 105px); background: var(--sofa-dark); color: #f2f2ed; }
.footer-lead { padding-bottom: 55px; border-bottom: 1px solid #50544f; }
.footer-lead__link { display: flex; justify-content: space-between; align-items: center; font-family: var(--sofa-font-page-title); font-size: clamp(38px, 5vw, 72px); font-weight: 410; letter-spacing: -.05em; line-height: 1; }
.footer-lead__link span { transition: transform .25s var(--sofa-ease); }
.footer-lead__link:hover span { transform: translate(6px, -6px); }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: var(--sofa-gap); padding: 42px 0 55px; }
.footer-label { margin-bottom: 13px; color: #929791; }
.footer-grid p,
.footer-grid a { font-size: var(--sofa-size-small-body); line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; padding: 15px 0 20px; border-top: 1px solid #50544f; color: #929791; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.error-page { min-height: 65vh; padding: 80px 0; }
.error-code { margin-bottom: 15px; color: var(--sofa-accent); font-size: 12px; letter-spacing: .15em; }
.error-page h1 { max-width: 900px; margin-bottom: 35px; font-family: var(--sofa-font-page-title); font-size: clamp(52px, 7vw, var(--sofa-size-contact-title)); font-weight: 410; letter-spacing: -.06em; line-height: .95; }

@media (max-width: 1080px) {
  :root { --sofa-shell: min(100% - 40px, 1480px); }
  .site-nav { gap: 20px; }
  .site-nav .menu { gap: 20px; }
  .site-nav__contact { display: none; }
  .studio-intro__content { grid-template-columns: 1fr; gap: 26px; }
  .studio-intro__text { max-width: 650px; }
  .home-statement { grid-template-columns: 55% 45%; }
}

@media (max-width: 820px) {
  :root {
    --sofa-header: 68px;
    --sofa-shell: calc(100% - 30px);
    --sofa-section: 58px;
  }
  .site-header { height: var(--sofa-header); }
  .custom-logo-link { max-width: 195px; }
  .custom-logo { max-width: 195px; max-height: 52px; }
  .wordmark__main { font-size: 21px; }
  .nav-toggle { display: flex; align-items: center; gap: 12px; z-index: 2; }
  .nav-toggle__label { font-family: var(--sofa-font-menu); font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
  .nav-toggle__icon { position: relative; width: 22px; height: 14px; }
  .nav-toggle__icon i { position: absolute; right: 0; width: 22px; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease; }
  .nav-toggle__icon i:first-child { top: 3px; }
  .nav-toggle__icon i:last-child { top: 10px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { top: 7px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child { top: 7px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: var(--sofa-header) 0 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    padding: 26px 15px 45px;
    background: var(--sofa-bg);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav .menu,
  .site-nav ul { display: block; }
  .site-nav .menu > li { border-bottom: 1px solid var(--sofa-line); }
  .site-nav .menu > li > a { padding: 15px 0; font-size: 28px; font-weight: 450; letter-spacing: -.03em; }
  .site-nav .menu > li > a::after { display: none; }
  .site-nav .sub-menu { position: static; display: none; visibility: visible; min-width: 0; padding: 0 0 12px 15px; border: 0; background: transparent; opacity: 1; transform: none; }
  .site-nav li.submenu-open > .sub-menu { display: block; }
  .site-nav .sub-menu li + li { border-top: 0; }
  .site-nav .sub-menu a { padding: 8px 0; font-size: 15px; }
  .submenu-toggle { position: absolute; top: 13px; right: 0; width: 36px; height: 36px; border: 0; background: none; font-size: 18px; }
  .site-nav__contact { display: flex; justify-content: space-between; padding: 14px 15px; }
  .home-hero { height: 70svh; min-height: 540px; }
  .home-hero__shade { background: linear-gradient(0deg, rgba(10, 12, 10, .72), rgba(10, 12, 10, .06) 70%); }
  .home-hero__content { bottom: 44px; }
  .home-hero h1 { max-width: 700px; margin-bottom: 23px; font-size: clamp(39px, 9vw, min(62px, var(--sofa-size-hero-title))); }
  .studio-intro__content { gap: 24px; }
  .studio-intro h2 { font-size: clamp(33px, 8vw, 50px); }
  .project-grid { gap: 34px 15px; }
  .project-card,
  .project-card:nth-child(n) { grid-column: span 6; }
  .project-card__meta { display: block; }
  .project-card__meta > p { margin-top: 4px; text-align: left; }
  .project-card__arrow { right: 10px; bottom: 10px; width: 36px; height: 36px; opacity: 1; transform: none; }
  .service-item { grid-template-columns: minmax(190px, 3fr) minmax(230px, 5fr); gap: 15px; }
  .team-grid--3,
  .team-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-statement { grid-template-columns: 1fr; }
  .home-statement__image { min-height: 0; aspect-ratio: 16 / 9; }
  .home-statement__content { padding: 50px 30px; }
  .archive-hero,
  .archive-hero--compact,
  .about-hero { padding-top: 55px; }
  .page-title { grid-template-columns: 1fr; gap: 20px; padding-top: 55px; }
  .contact-header { padding-top: 55px; }
  .project-filters { grid-template-columns: 1fr; gap: 15px; }
  .project-filters__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-filters__actions { justify-content: flex-start; }
  .project-body { grid-template-columns: 1fr; }
  .project-facts { padding: 0 0 25px; border-right: 0; }
  .project-content { padding-left: 0; }
  .project-gallery__thumb { flex-basis: 132px; }
  .project-navigation > div { min-height: 120px; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .about-copy .entry-content { grid-template-columns: 1fr; gap: 18px; }
  .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .contact-info { padding-right: 0; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 560px) {
  .home-hero { min-height: 510px; }
  .hero-kicker { margin-bottom: 15px; }
  .hero-link { gap: 22px; }
  .section-head { align-items: center; }
  .project-grid,
  .archive-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-filters__fields { grid-template-columns: 1fr; }
  .project-content .gallery { grid-template-columns: 1fr; }
  .project-gallery__nav { width: 40px; height: 40px; font-size: 18px; }
  .project-gallery__nav--previous { left: 8px; }
  .project-gallery__nav--next { right: 8px; }
  .project-gallery__expand { right: 8px; bottom: 8px; }
  .project-gallery__meta { gap: 12px; }
  .project-gallery__thumb { flex-basis: 96px; }
  .project-lightbox { padding: 62px 14px 54px; }
  .project-lightbox__image { max-height: calc(100svh - 132px); }
  .project-lightbox__close { top: 10px; right: 10px; width: 42px; height: 42px; }
  .project-lightbox__nav { width: 42px; height: 42px; }
  .project-lightbox__nav--previous { left: 10px; }
  .project-lightbox__nav--next { right: 10px; }
  .project-lightbox__counter { bottom: 16px; left: 14px; }
  .project-card,
  .project-card:nth-child(n) { grid-column: auto; }
  .project-card__meta h2,
  .project-card__meta h3 { font-size: clamp(15px, var(--sofa-size-project-card-title), 22px); }
  .service-item { grid-template-columns: 1fr; }
  .team-grid,
  .team-grid--2,
  .team-grid--3,
  .team-grid--4 { grid-template-columns: 1fr; gap: 34px; }
  .team-grid--2 .team-card { display: block; }
  .team-grid--2 .team-card__content { padding: 13px 0 0; }
  .home-statement__content { padding: 44px 15px 50px; }
  .project-hero { height: 62svh; min-height: 490px; }
  .project-hero__content { bottom: 36px; }
  .project-facts > div { grid-template-columns: 82px 1fr; }
  .project-navigation { grid-template-columns: 1fr; }
  .project-navigation > div + div { border-top: 1px solid var(--sofa-line); border-left: 0; }
  .journal-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16 / 9; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-of-type(4) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 6px; }
}

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