:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e2d6;
  --white: #fffef9;
  --ink: #191a17;
  --ink-soft: #60615b;
  --forest: #202923;
  --oak: #876146;
  --brass: #ad8757;
  --line: rgba(25, 26, 23, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 5vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 88px;
  padding: .45rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--ink);
  background: rgba(243, 240, 232, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(35, 31, 25, .08); }
.brand { display: block; width: 165px; text-decoration: none; }
.brand img { width: 100%; height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.main-nav a {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: .8rem 1rem; border: 1px solid currentColor; }

.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  padding: clamp(3.5rem, 7vw, 7.5rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(300px, .84fr) minmax(480px, 1.16fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.9), transparent 34%),
    repeating-linear-gradient(0deg, rgba(74,64,49,.025) 0, rgba(74,64,49,.025) 1px, transparent 1px, transparent 4px),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  width: 38vw;
  aspect-ratio: 1;
  left: -18vw;
  bottom: -24vw;
  border: 1px solid rgba(135,97,70,.18);
  border-radius: 50%;
}
.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--oak);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow.light { color: #ddc29f; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(3.25rem, 6.4vw, 7.25rem); line-height: .92; }
.hero-intro { max-width: 660px; margin: 1.65rem 0 0; color: var(--ink-soft); font-size: clamp(1.02rem, 1.45vw, 1.22rem); line-height: 1.75; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.3rem;
  border: 1px solid transparent;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button-outline-dark { border-color: rgba(25,26,23,.45); color: var(--ink); background: transparent; }
.button-outline-dark:hover, .button-outline-dark:focus-visible { color: var(--white); background: var(--ink); }
.button-outline { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: var(--ink); background: var(--white); }
.hero-facts {
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.35rem;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-facts li { color: var(--ink-soft); font-size: .77rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-facts li::before { content: ""; display: inline-block; width: .38rem; height: .38rem; margin: 0 .55rem .08rem 0; border-radius: 50%; background: var(--brass); }

.hero-photo {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #d9d2c7;
  box-shadow: 0 20px 55px rgba(42,34,25,.14);
}
.hero-photo img { width: 100%; height: auto; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-heading { max-width: 850px; }
.section-heading h2,
.about h2,
.trade-heading h2 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); line-height: 1; }
.section-heading > p:last-child { margin: 1.4rem 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.centered-heading { margin: 0 auto clamp(2.8rem, 6vw, 5rem); text-align: center; }

.category-section { background: var(--white); scroll-margin-top: 88px; }
.category-grid { scroll-margin-top: 105px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-card {
  position: relative;
  min-height: 310px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: #373a35;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  text-decoration: none;
}
.category-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--category-image);
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,14,12,.04) 20%, rgba(13,14,12,.84) 100%);
}
.category-card:hover::before, .category-card:focus-visible::before { transform: scale(1.04); }
.category-card:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.category-card span { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 3rem); line-height: 1; }
.category-card small { max-width: 370px; margin-top: .7rem; color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }

.work { min-height: 58vh; background: var(--paper); }
.work.section-pad { padding-top: clamp(2rem, 5vw, 4rem); }
.gallery-heading { margin: 1.5rem 0 2rem; }
.gallery-heading h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1.05; }
.gallery-back-bottom { margin-top: 2rem; }
.gallery-back-bottom[hidden] { display: none; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  cursor: zoom-in;
  text-align: left;
}
.gallery-image-wrap { display: block; aspect-ratio: 4 / 3; background: var(--paper-deep); }
.gallery-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.gallery-open:hover { border-color: var(--oak); }
.gallery-open:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.gallery-copy { display: block; padding: .8rem 1rem; font-size: 1rem; }
.photo-open { overflow: hidden; }
.noscript { padding: 1rem; border: 1px solid var(--line); }

.about { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(340px, .9fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; background: var(--white); }
.about-collage { position: relative; min-height: 680px; }
.about-collage img { position: absolute; object-fit: cover; box-shadow: 0 24px 65px rgba(45,36,27,.16); }
.about-primary { inset: 0 auto 0 0; width: 72%; height: 78%; }
.about-secondary { right: 0; bottom: 0; width: 48%; height: 58%; border: 12px solid var(--white); }
.about-copy > p:not(.eyebrow) { margin: 1.2rem 0 0; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.8; }
.about-details { margin: 2rem 0; border-top: 1px solid var(--line); }
.about-details div { padding: .85rem 0; display: grid; grid-template-columns: 120px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.about-details dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.about-details dd { margin: 0; color: var(--ink-soft); }

.process { color: var(--white); background: var(--forest); }
.process .centered-heading > p:last-child { color: rgba(255,255,255,.66); }
.process-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.16); list-style: none; }
.process-grid li { min-height: 255px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.16); }
.process-grid li:last-child { border-right: 0; }
.process-grid span { color: #d8bb96; font-size: .72rem; letter-spacing: .13em; }
.process-grid h3 { margin: 3.5rem 0 .6rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.process-grid p { margin: 0; color: rgba(255,255,255,.64); line-height: 1.7; }

.design-services, .trade-partners { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; background: var(--paper); }
.design-services { background: var(--white); scroll-margin-top: 88px; }
.design-copy { max-width: 42rem; }
.design-copy > p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.design-copy .button { margin-top: .5rem; }
#inquiry-title { scroll-margin-top: 105px; }
.trade-copy { padding-top: 2.25rem; }
.trade-copy > p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.trade-list { margin: 1.7rem 0 2rem; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.trade-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.trade-list li::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin: 0 .75rem .12rem 0; border-radius: 50%; background: var(--brass); }

.inquiry-page {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding-block: clamp(2.5rem, 7vw, 6rem);
}
.inquiry-intro h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.inquiry-intro > p:not(.eyebrow), .inquiry-panel > p { color: var(--ink-soft); }
.inquiry-details { display: grid; gap: .25rem; margin: 1.75rem 0; font-style: normal; }
.inquiry-details span { margin-bottom: .5rem; color: var(--ink-soft); }
.inquiry-details a { width: fit-content; text-underline-offset: .2em; }
.inquiry-photo { width: 100%; margin-bottom: 1.25rem; }
.inquiry-panel { padding: clamp(1.25rem, 3.4vw, 2.75rem); background: var(--white); border: 1px solid var(--line); }
.inquiry-panel h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; }
.inquiry-form { margin-top: 1.5rem; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.inquiry-form label { display: block; font-size: .95rem; font-weight: 700; }
.inquiry-form label span { font-weight: 400; color: var(--ink-soft); }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: .35rem;
  padding: .65rem .75rem;
  border: 1px solid var(--ink-soft);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1rem/1.4 var(--sans);
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; }
.inquiry-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }
.inquiry-actions button { cursor: pointer; }
.inquiry-status:empty { margin: 0; }
.inquiry-status { margin: .9rem 0 0; color: var(--ink-soft); }

.contact { position: relative; min-height: 650px; display: grid; place-items: center; overflow: hidden; padding: clamp(5rem, 11vw, 10rem) var(--pad); color: var(--white); text-align: center; background: #141815; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(16,19,17,.76), rgba(16,19,17,.88)); }
.contact-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); }
.contact-inner { position: relative; z-index: 2; max-width: 900px; }
.contact h2 { font-size: clamp(2.9rem, 6vw, 6.1rem); line-height: .98; }
.contact-inner > p:not(.eyebrow):not(.contact-detail) { max-width: 670px; margin: 1.4rem auto 0; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.contact-actions { margin: 2.2rem 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.contact-detail { margin: 0; color: rgba(255,255,255,.58); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.social-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(2.25rem, 5vw, 4rem) var(--pad);
  scroll-margin-top: 6.5rem;
  background: var(--white);
}
.social-follow-copy { max-width: 25rem; }
.social-follow h2 { font-family: var(--serif); font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.1; }
.social-follow p { margin: .6rem 0 0; color: var(--ink-soft); }
.social-links { display: flex; flex-wrap: wrap; gap: .75rem; max-width: 100%; }
.social-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.75rem;
  min-width: 0;
  max-width: 100%;
  padding: .6rem .9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
}
.social-link:hover { border-color: var(--oak); background: var(--paper-deep); }
.social-link:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.social-link-icon { flex: 0 0 1.5rem; }
.social-link-label { display: grid; min-width: 0; gap: .15rem; line-height: 1.25; overflow-wrap: anywhere; }
.social-link-platform { color: var(--ink-soft); font-size: .875rem; font-weight: 600; }
.social-link-profile { font-size: 1rem; font-weight: 700; }

.site-footer { min-height: 150px; padding: 1.5rem var(--pad); display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); background: var(--paper); }
.site-footer > img { width: 165px; height: 110px; object-fit: contain; mix-blend-mode: multiply; }
.footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-contact a, .site-footer > p { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.site-footer > p { text-align: right; }

.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 2rem clamp(1rem, 4vw, 4rem); border: 0; color: var(--white); background: rgba(10,11,10,.96); overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10,11,10,.96); }
.lightbox figure { width: min(1120px, 82vw); height: calc(100dvh - 5rem); margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1rem; }
.lightbox figure img { width: 100%; height: 100%; object-fit: contain; }
.lightbox figcaption { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: baseline; }
.lightbox figcaption span { color: #d9b990; font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; }
.lightbox figcaption strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.lightbox figcaption small { color: rgba(255,255,255,.55); }
.lightbox-close, .lightbox-nav { position: fixed; z-index: 2; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); color: var(--white); background: rgba(0,0,0,.25); cursor: pointer; }
.lightbox-close { top: 1rem; right: 1rem; width: 46px; height: 46px; font-size: 2rem; font-weight: 200; }
.lightbox-nav { top: 50%; width: 48px; height: 64px; transform: translateY(-50%); font-size: 2.5rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .category-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .design-services, .trade-partners { grid-template-columns: 1fr; }
  .about-collage { width: min(100%, 760px); }
  .trade-copy { padding-top: 0; max-width: 760px; }
}

@media (max-width: 850px) {
  .inquiry-page { grid-template-columns: 1fr; }
  .inquiry-photo { display: none; }
}

@media (max-width: 760px) {
  .site-header { min-height: 74px; }
  .brand { width: 118px; }
  .brand img { height: 58px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .65rem .75rem; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5.1rem); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer > img { margin: auto; }
  .site-footer > p { text-align: center; }
}

@media (max-width: 560px) {
  .inquiry-fields { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 280px; }
  .gallery { grid-template-columns: 1fr; }
  .about-collage { min-height: 520px; }
  .about-primary { width: 82%; height: 74%; }
  .about-secondary { width: 56%; height: 52%; border-width: 8px; }
  .about-details div { grid-template-columns: 1fr; gap: .15rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .process-grid li:last-child { border-bottom: 0; }
  .process-grid h3 { margin-top: 2rem; }
  .contact { min-height: 600px; }
  .social-links { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .lightbox { padding: 4.4rem .5rem 1rem; }
  .lightbox figure { width: 100%; height: calc(100dvh - 6rem); }
  .lightbox figcaption { grid-template-columns: 1fr auto; padding-inline: .5rem; }
  .lightbox figcaption span { grid-column: 1 / -1; }
  .lightbox-nav { top: auto; bottom: 5.2rem; width: 44px; height: 52px; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

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