/* Dallas Manker — architectural hospitality direction (2026-09-29)
   Material palette: warm limestone, bone, graphite, titanium, charcoal,
   deep bronze, walnut. Light AND dark environments. One primary typeface
   (Inter Tight, like architectural signage); IBM Plex Mono only for tiny
   technical metadata. Layered, spatial composition. */

:root {
  --bone: #F5F1E9;
  --bone-deep: #EFE9DC;
  --limestone: #E6DCC8;
  --sand: #D8CCB2;
  --titanium: #8F8B7E;
  --stone: #6E695C;
  --graphite: #33312B;
  --charcoal: #201F1B;
  --ink: #161511;
  --bronze: #8C6B45;
  --bronze-deep: #6B5133;
  --walnut: #4A3826;
  --hair: rgba(51, 49, 43, .16);
  --hair-dark: rgba(245, 241, 233, .16);
  --shadow: 0 34px 90px rgba(22, 21, 17, .20);
  --shadow-soft: 0 18px 50px rgba(22, 21, 17, .12);
  --wrap: min(1360px, 100% - clamp(48px, 9vw, 144px));
  --ease: cubic-bezier(.22, .61, .21, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter Tight", -apple-system, "Segoe UI", sans-serif;
  background: var(--bone);
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--bronze); color: var(--bone); }

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--charcoal); color: var(--bone);
  padding: 10px 18px; font-size: 14px; text-decoration: none;
  transition: top .25s var(--ease);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* ---------------- Header (glass: transparency, layering, depth) ---------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(245, 241, 233, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--hair);
}
.head-in {
  width: var(--wrap); margin: 0 auto; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-weight: 500; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; color: var(--ink);
}
.nav { display: flex; gap: clamp(18px, 3vw, 38px); }
.nav a {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--stone); position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 0;
  background: var(--bronze); transition: width .35s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ---------------- Shared ---------------- */
.wrap { width: var(--wrap); margin: 0 auto; }
.section { padding: clamp(96px, 13vh, 170px) 0; position: relative; }
.bone { background: var(--bone); }
.limestone { background: var(--limestone); }
.bone-deep { background: var(--bone-deep); }
.charcoal { background: var(--charcoal); color: var(--bone); }
.charcoal .lede { color: #CFC8B8; }

.meta {
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--bronze);
  display: flex; align-items: center; gap: 14px;
}
.meta::before { content: ""; width: 34px; height: 1px; background: var(--bronze); flex: none; }
.charcoal .meta { color: var(--sand); }
.charcoal .meta::before { background: var(--sand); }

h1, h2, h3 { font-weight: 500; letter-spacing: -.022em; line-height: 1.04; color: var(--ink); }
.charcoal h1, .charcoal h2 { color: var(--bone); }

.h-display { font-size: clamp(52px, 8.5vw, 128px); font-weight: 400; }
.h-xl { font-size: clamp(40px, 5.4vw, 76px); font-weight: 400; }
.h-lg { font-size: clamp(30px, 3.6vw, 48px); }

.lede {
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6;
  color: var(--stone); font-weight: 400; max-width: 34em;
}
.prose { max-width: 40em; }
.prose p { margin: 0 0 1.35em; color: var(--graphite); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }
.charcoal .prose p { color: #CFC8B8; }
.charcoal .prose strong { color: var(--bone); }

.rule { border: none; border-top: 1px solid var(--hair); margin: 0; }
.charcoal .rule { border-color: var(--hair-dark); }

/* Figures: photography meets layout */
.fig { margin: 0; }
.fig .ph { overflow: hidden; background: var(--bone-deep); }
.charcoal .fig .ph { background: #2A2925; }
.fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.fig:hover img { transform: scale(1.022); }
.fig figcaption {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 2px 0; font-size: 13.5px; color: var(--stone);
}
.charcoal .fig figcaption { color: #A9A294; }
.fno {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .18em; color: var(--bronze); flex: none;
}
.charcoal .fno { color: var(--sand); }

/* Overlapping planes (spatial depth) */
.plane { position: relative; z-index: 2; box-shadow: var(--shadow); }
.lift { margin-top: clamp(-110px, -7vw, -36px); }

/* Links */
.go {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); padding-bottom: 8px; position: relative;
}
.go .arr { transition: transform .35s var(--ease); }
.go::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform-origin: left;
  transition: transform .45s var(--ease);
}
.go:hover .arr { transform: translateX(6px); }
.go:hover::after { transform: scaleX(.35); }
.charcoal .go { color: var(--bone); }

/* Reveal (calm, architectural) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .fig img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Arrival (homepage hero) ---------------- */
.arrival { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--ink); }
.arrival .bg { position: absolute; inset: 0; }
.arrival .bg img { width: 100%; height: 100%; object-fit: cover; }
.arrival .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,21,17,.72) 0%, rgba(22,21,17,.28) 34%, rgba(22,21,17,0) 62%);
}
.arrival .id {
  position: relative; z-index: 2; width: var(--wrap); margin: 0 auto;
  padding-bottom: clamp(56px, 9vh, 110px); color: var(--bone);
}
.arrival .id h1 {
  color: var(--bone); font-weight: 300;
  font-size: clamp(54px, 9vw, 132px); letter-spacing: -.025em;
}
.arrival .meta { color: var(--sand); margin-bottom: 26px; text-shadow: 0 1px 14px rgba(22,21,17,.55); }
.arrival .meta::before { background: var(--sand); box-shadow: 0 1px 14px rgba(22,21,17,.55); }
.arrival .id h1 { text-shadow: 0 2px 30px rgba(22,21,17,.35); }
.arrival .scrollcue {
  position: absolute; right: clamp(24px, 4.5vw, 72px); bottom: clamp(56px, 9vh, 110px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .3em;
  color: rgba(245,241,233,.65); text-transform: uppercase; writing-mode: vertical-rl;
}
.arrival .scrollcue::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(245,241,233,.65), transparent);
}

/* ---------------- Threshold ---------------- */
.threshold .lede-big {
  font-size: clamp(28px, 3.8vw, 52px); line-height: 1.28; font-weight: 400;
  letter-spacing: -.018em; color: var(--ink); max-width: 20em;
}
.threshold .lede-big em { font-style: normal; color: var(--bronze-deep); }
.specstrip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair); margin-top: clamp(48px, 7vh, 84px);
}
.specstrip > div { padding: 22px 0; border-bottom: 1px solid var(--hair); }
.specstrip .k {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .2em; color: var(--titanium); margin-bottom: 8px;
}
.specstrip .v { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--ink); }

/* ---------------- Gallery: project feature ---------------- */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: end; }
.feature .f-text { grid-column: 1 / 6; }
.feature .f-img { grid-column: 6 / 13; }
.feature .f-text h2 { margin: 22px 0 20px; }
.feature .f-text .lede { margin-bottom: 34px; }
.plist { list-style: none; margin: 30px 0 36px; border-top: 1px solid var(--hair); }
.plist li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px;
}
.plist .k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .18em; color: var(--stone); padding-top: 3px; }
.plist .v { text-align: right; color: var(--ink); font-weight: 500; }

/* ---------------- Detail band (controlled dark) ---------------- */
.detail-band .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.detail-band .fig .ph { aspect-ratio: 3 / 4; }
.specs { list-style: none; margin-top: 40px; }
.specs li {
  display: grid; grid-template-columns: 170px 1fr; gap: 24px;
  padding: 18px 0; border-top: 1px solid var(--hair-dark); font-size: 15px;
}
.specs li:last-child { border-bottom: 1px solid var(--hair-dark); }
.specs .k {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .18em; color: var(--sand); padding-top: 4px;
}
.specs .v { color: var(--bone); }

/* ---------------- Volume: large project ---------------- */
.volume .f-img-wide { margin-bottom: clamp(32px, 5vw, 72px); }
.volume .f-img-wide .ph { aspect-ratio: 16 / 8.2; }
.volume .lower { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.volume .lower .f-text { grid-column: 1 / 6; }
.volume .lower .overlap { grid-column: 7 / 13; margin-top: clamp(-150px, -10vw, -50px); }
.volume .lower .overlap .ph { aspect-ratio: 4 / 5; }

/* ---------------- Quiet moment ---------------- */
.quiet { text-align: center; }
.quiet .qs {
  font-size: clamp(24px, 3.2vw, 42px); line-height: 1.4; font-weight: 400;
  letter-spacing: -.015em; color: var(--ink); max-width: 26em; margin: 0 auto;
}
.quiet .qs em { font-style: normal; color: var(--bronze-deep); }
.quiet .meta { justify-content: center; margin-bottom: 40px; }
.quiet .meta::before { display: none; }

/* ---------------- Next space: about / contact strips ---------------- */
.next-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.next-grid .ph { aspect-ratio: 4 / 3; }
.next-grid.rev { direction: rtl; }
.next-grid.rev > * { direction: ltr; }
.next-grid h2 { margin: 22px 0 20px; }
.next-grid .lede { margin-bottom: 34px; }
.soclist { list-style: none; border-top: 1px solid var(--hair); margin-top: 8px; }
.soclist a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 2px; border-bottom: 1px solid var(--hair);
  text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .01em;
  transition: padding .35s var(--ease), color .3s;
}
.soclist a:hover { padding-left: 10px; color: var(--bronze-deep); }
.soclist .arr { color: var(--bronze); }
.formnote { font-size: 14px; color: var(--stone); margin-top: 26px; max-width: 34em; }

/* ---------------- Page titles ---------------- */
.ptitle { padding-top: clamp(120px, 17vh, 190px); padding-bottom: clamp(48px, 7vh, 84px); }
.ptitle .meta { margin-bottom: 30px; }
.spectable { margin-top: clamp(36px, 5vh, 60px); border-top: 1px solid var(--hair); max-width: 760px; }
.spectable .row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--hair); font-size: 15.5px; }
.spectable .k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .18em; color: var(--stone); padding-top: 4px; }
.spectable .v { color: var(--ink); font-weight: 500; }

/* ---------------- Story sections ---------------- */
.story .grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 3.5vw, 56px); }
.story .s-num { grid-column: 1 / 3; }
.story .s-body { grid-column: 3 / 11; }
.story .s-body .prose { font-size: 18px; }
.story + .story { border-top: 1px solid var(--hair); }
.charcoal.story + .charcoal.story { border-color: var(--hair-dark); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(32px, 5vh, 60px); }
.duo .ph { aspect-ratio: 4 / 3.4; }
.pagenav {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(56px, 9vh, 100px); padding-top: 28px; border-top: 1px solid var(--hair);
}

/* ---------------- Footer ---------------- */
.site-foot { background: var(--charcoal); color: #B9B2A2; padding: clamp(72px, 10vh, 120px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(32px, 5vw, 96px); }
.foot-word { font-size: clamp(38px, 4.6vw, 64px); font-weight: 300; letter-spacing: -.02em; color: var(--bone); line-height: 1.05; }
.foot-h { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .2em; color: var(--sand); margin-bottom: 20px; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-links a { text-decoration: none; font-size: 15px; transition: color .3s; }
.foot-links a:hover { color: var(--bone); }
.copy {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(56px, 8vh, 96px); padding-top: 24px; border-top: 1px solid var(--hair-dark);
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .16em; color: #8B8574;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .feature .f-text, .feature .f-img { grid-column: 1 / 13; }
  .feature .f-img { margin-top: 8px; }
  .detail-band .grid { grid-template-columns: 1fr; }
  .detail-band .fig .ph { aspect-ratio: 4 / 3.4; max-height: 70vh; }
  .detail-band .fig .ph img { object-position: center 30%; }
  .volume .lower .f-text, .volume .lower .overlap { grid-column: 1 / 13; }
  .volume .lower .overlap { margin-top: 0; max-width: 560px; }
  .volume .f-img-wide .ph { aspect-ratio: 16 / 10; }
  .next-grid { grid-template-columns: 1fr; }
  .next-grid.rev { direction: ltr; }
  .story .s-num { grid-column: 1 / 13; }
  .story .s-body { grid-column: 1 / 13; }
  .duo { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-word { grid-column: 1 / 3; }
  .specstrip { grid-template-columns: 1fr; }
  .specstrip > div { padding: 16px 0; }
  .specs li { grid-template-columns: 1fr; gap: 6px; }
  .arrival .scrollcue { display: none; }
}
@media (max-width: 560px) {
  .spectable .row { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-word { grid-column: auto; }
  .nav { gap: 20px; }
}

/* ---- contact form ---- */
.cform { margin-top: 34px; max-width: 560px; }
.frow { margin-bottom: 22px; }
.frow label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 10px; }
.frow input, .frow textarea {
  width: 100%; background: var(--bone); border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 2px;
}
.frow input:focus, .frow textarea:focus { outline: none; border-color: var(--bronze); }
.frow textarea { resize: vertical; min-height: 140px; }
.btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  background: var(--ink); color: var(--bone); border: none; padding: 16px 30px; cursor: pointer; border-radius: 2px;
}
.btn:hover { background: var(--bronze); }
.cform-status { margin-top: 16px; font-size: 15px; color: var(--mut); min-height: 24px; }
