:root {
  --paper: #f4f1eb;
  --paper-2: #ebe6dc;
  --ink: #090909;
  --muted: #67635c;
  --graphite: #171716;
  --graphite-2: #22211f;
  --line: rgba(9, 9, 9, 0.16);
  --line-dark: rgba(244, 241, 235, 0.18);
  --brass: #b7832d;
  --brass-2: #d0a553;
  --danger: #b54708;
  --header-height: 76px;
  --font-display: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --font-body: Arial, "Helvetica Neue", Helvetica, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(9, 9, 9, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
}

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

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

button,
input,
textarea {
  appearance: none;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--graphite);
  color: var(--paper);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.94);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 241, 235, 0.98);
  border-color: rgba(9, 9, 9, 0.28);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 36px;
}

.brand,
.footer-brand {
  display: inline-flex;
  width: 210px;
  max-width: 46vw;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.site-nav a,
.privacy-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.site-nav a::after,
.privacy-nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--brass);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.privacy-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.spec-section,
#contact,
#over-ons {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.72fr);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 56%;
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(9, 9, 9, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 92px 92px;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
  padding: 60px 40px 48px 72px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.98;
}

h2 {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.05;
}

h3 {
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(9, 9, 9, 0.48);
  padding: 0 24px;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.button-line {
  background: transparent;
  color: var(--ink);
}

.button-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero-data {
  display: grid;
  width: min(100%, 560px);
  margin: 52px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-data div {
  padding: 20px 26px 20px 0;
}

.hero-data div + div {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.hero-data dt {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 850;
}

.hero-data dd {
  margin: 4px 0 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.hero-blueprint {
  position: relative;
  z-index: 1;
  min-width: 0;
  background:
    linear-gradient(rgba(244, 241, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 235, 0.035) 1px, transparent 1px),
    var(--graphite);
  background-size: 52px 52px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-blueprint img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  opacity: 0.78;
  mix-blend-mode: screen;
}

.blueprint-note {
  position: absolute;
  right: 8%;
  bottom: 10%;
  display: grid;
  gap: 4px;
  min-width: 270px;
  border-left: 1px solid var(--brass);
  color: var(--paper);
  padding-left: 22px;
  text-transform: uppercase;
}

.blueprint-note span {
  margin-top: 10px;
  color: var(--brass-2);
  font-size: 0.68rem;
  font-weight: 850;
}

.blueprint-note strong {
  font-size: 0.74rem;
  font-weight: 850;
}

.contact-rail {
  position: absolute;
  top: var(--header-height);
  right: 0;
  z-index: 4;
  display: grid;
  width: 106px;
  border-left: 1px solid rgba(183, 131, 45, 0.55);
  border-bottom: 1px solid rgba(183, 131, 45, 0.55);
  background: rgba(23, 23, 22, 0.82);
  color: var(--paper);
}

.contact-rail a {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(183, 131, 45, 0.55);
  padding: 18px 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 850;
}

.contact-rail span {
  color: var(--brass-2);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.spec-section {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.section-index {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-right: 1px solid var(--line);
  background: var(--graphite);
  color: var(--brass);
  padding-top: 34px;
}

.section-index strong {
  font-size: 2.4rem;
  line-height: 1;
}

.section-index span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--brass);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.spec-body {
  min-width: 0;
  padding: 34px 32px 38px;
}

.section-heading {
  display: grid;
  max-width: 880px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p,
.studio-note p,
.contact-intro p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.service-directory {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-row {
  display: grid;
  min-height: 86px;
  grid-template-columns: 140px minmax(220px, 0.9fr) minmax(320px, 1fr) 72px;
  align-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.72);
  transition: background 160ms ease;
}

.service-row:hover,
.service-row.is-open {
  background: #fffaf0;
}

.service-row > * {
  min-width: 0;
  padding: 0 32px;
}

.service-number {
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 850;
}

.service-row h3 {
  padding-left: 0;
}

.service-row p {
  border-left: 1px dotted rgba(9, 9, 9, 0.18);
  color: #2e2c28;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-row button {
  width: 100%;
  height: 100%;
  border-left: 1px dotted rgba(9, 9, 9, 0.18);
  background: transparent;
  color: var(--brass);
  font-size: 1.55rem;
  font-weight: 300;
}

.service-row.is-open button {
  background: var(--brass);
  color: #fff;
}

.studio-note {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.process-section {
  background: var(--graphite);
  color: var(--paper);
}

.process-section .section-index {
  border-right-color: var(--line-dark);
  background: #10100f;
}

.process-section .spec-body {
  background:
    linear-gradient(rgba(244, 241, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 235, 0.05) 1px, transparent 1px),
    var(--graphite);
  background-size: 64px 64px;
}

.dark-heading p {
  color: rgba(244, 241, 235, 0.68);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  list-style: none;
}

.process-timeline li {
  min-height: 260px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 34px 30px;
}

.process-timeline span {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 850;
}

.process-timeline h3 {
  margin-top: 18px;
  color: var(--paper);
}

.process-timeline p {
  margin-top: 14px;
  color: rgba(244, 241, 235, 0.72);
  font-size: 0.92rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.contact-intro {
  position: relative;
  min-height: 350px;
  border-right: 1px solid var(--line);
  padding-right: 36px;
}

.contact-intro::after {
  position: absolute;
  right: 36px;
  bottom: 0;
  width: 220px;
  height: 120px;
  border: 1px solid var(--line);
  border-left-color: var(--brass);
  background:
    linear-gradient(135deg, rgba(183, 131, 45, 0.14) 25%, transparent 25%, transparent 50%, rgba(183, 131, 45, 0.14) 50%, rgba(183, 131, 45, 0.14) 75%, transparent 75%),
    linear-gradient(rgba(9, 9, 9, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.07) 1px, transparent 1px);
  background-size: 16px 16px, 34px 34px, 34px 34px;
  content: "";
}

.contact-intro p {
  margin-top: 20px;
  max-width: 360px;
}

.contact-shortcuts {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  max-width: 320px;
}

.contact-shortcuts a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 0;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0;
}

label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(9, 9, 9, 0.28);
  border-radius: 0;
  background: rgba(244, 241, 235, 0.56);
  color: var(--ink);
  padding: 18px 20px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  border-color: var(--brass);
  background: #fffaf0;
  box-shadow: inset 0 -2px 0 var(--brass);
}

textarea {
  min-height: 172px;
  resize: vertical;
}

.field-error {
  border-color: var(--danger) !important;
  background: #fff7ed;
}

.form-status {
  min-height: 24px;
  color: var(--danger);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-ok {
  color: var(--brass);
}

.form-submit {
  width: 100%;
  justify-content: space-between;
  min-height: 62px;
}

.form-submit::after {
  content: "->";
  font-weight: 400;
}

.site-footer {
  background:
    linear-gradient(rgba(244, 241, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 235, 0.04) 1px, transparent 1px),
    var(--graphite);
  background-size: 64px 64px;
  color: var(--paper);
  padding: 40px 36px 30px;
}

.footer-grid {
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1.1fr 1.2fr 1fr 1fr 1fr 0.9fr;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 26px;
}

.footer-grid a,
.footer-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(244, 241, 235, 0.88);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-brand {
  color: #fff !important;
}

.site-footer p {
  max-width: 920px;
  margin-top: 24px;
  color: rgba(244, 241, 235, 0.68);
  font-size: 0.88rem;
}

.privacy-main {
  min-height: calc(100vh - var(--header-height));
  padding: 54px 36px 80px;
}

.compact-header .header-inner {
  min-height: 72px;
}

.privacy-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-cta {
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #fff !important;
  padding: 13px 18px;
}

.privacy-card {
  max-width: 940px;
  border: 1px solid var(--line);
  background: rgba(244, 241, 235, 0.68);
  padding: 54px;
}

.privacy-card h1 {
  margin-top: 18px;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.privacy-card h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.privacy-card p,
.privacy-card li {
  color: var(--muted);
}

.privacy-card p {
  margin-top: 14px;
}

.privacy-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.privacy-card li + li {
  margin-top: 7px;
}

.back-link,
.privacy-update {
  color: var(--ink) !important;
  font-weight: 850;
}

.privacy-update {
  margin: 30px 0 22px !important;
}

:focus-visible {
  outline: 3px solid rgba(183, 131, 45, 0.5);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 4.25rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.64fr);
  }

  .contact-rail {
    display: none;
  }

  .service-row {
    grid-template-columns: 92px minmax(190px, 0.85fr) minmax(260px, 1fr) 64px;
  }

  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    padding: 0 22px;
  }

  .brand,
  .footer-brand {
    width: 178px;
    font-size: 1.38rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    padding: 8px 22px 18px;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero::before {
    width: 100%;
  }

  .hero-copy {
    padding: 58px 22px 38px;
  }

  h1 {
    max-width: 720px;
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 36px;
  }

  .hero-data {
    margin-top: 44px;
  }

  .hero-blueprint {
    clip-path: none;
    min-height: 300px;
  }

  .hero-blueprint img {
    min-height: 300px;
  }

  .blueprint-note {
    right: 22px;
    bottom: 28px;
    min-width: 220px;
  }

  .spec-section {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .section-index strong {
    font-size: 1.85rem;
  }

  .spec-body {
    padding: 28px 20px 34px;
  }

  .section-heading,
  .studio-note,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-row {
    grid-template-columns: 64px minmax(0, 1fr) 48px;
    min-height: auto;
  }

  .service-row p {
    grid-column: 2 / 3;
    border-left: 0;
    padding-top: 8px;
    padding-bottom: 18px;
  }

  .service-row button {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
  }

  .service-row > * {
    padding: 18px 16px 0;
  }

  .service-row h3 {
    padding-left: 0;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-timeline li {
    min-height: auto;
  }

  .contact-intro {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 160px;
  }

  .contact-intro::after {
    right: auto;
    left: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 0 16px;
  }

  h1 {
    max-width: min(100%, 320px);
    overflow-wrap: break-word;
    font-size: 2.28rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero-copy {
    padding: 34px 16px 24px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 26px;
  }

  .hero-data {
    margin-top: 28px;
  }

  .hero-data div {
    padding: 10px 18px 10px 0;
  }

  .hero-data {
    grid-template-columns: 1fr;
  }

  .hero-data div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .spec-section {
    display: block;
  }

  .section-index {
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    border-right: 0;
    padding: 18px 16px;
  }

  .section-index span {
    writing-mode: horizontal-tb;
  }

  .spec-body {
    padding: 26px 16px 34px;
  }

  .service-row {
    grid-template-columns: 52px minmax(0, 1fr) 42px;
  }

  .service-row > * {
    padding-inline: 12px;
  }

  .service-row p {
    font-size: 0.78rem;
  }

  .blueprint-note {
    display: none;
  }

  .hero-blueprint,
  .hero-blueprint img {
    height: 92px;
    min-height: 0;
  }

  .button {
    min-height: 50px;
  }

  input,
  textarea {
    padding: 16px;
  }

  .site-footer {
    padding: 34px 16px 28px;
  }

  .privacy-main {
    padding: 34px 16px 58px;
  }

  .privacy-card {
    padding: 28px 20px;
  }

  .privacy-card h1 {
    font-size: 2.2rem;
  }
}

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