:root {
  --ivory: #faf7f2;
  --cream: #f4ecdf;
  --champagne: #f0e4d5;
  --sand: #ddc6ae;
  --taupe: #a78770;
  --espresso: #382e2a;
  --brown: #675349;
  --gold: #c7a77d;
  --gold-light: #ead5b8;
  --white: #fffdf9;
  --line: rgba(56, 46, 42, 0.16);
  --shadow: 0 30px 80px rgba(72, 54, 45, 0.13);
  --serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --sans: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --page: calc(100% - 34px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--sand); color: var(--espresso); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--espresso);
  color: white;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
.section-shell {
  width: var(--page);
  max-width: 1440px;
  margin-inline: auto;
  position: relative;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--taupe);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
}
h1 { font-size: clamp(3.2rem, 13.2vw, 7.8rem); letter-spacing: -0.065em; }
h2 { font-size: clamp(2.8rem, 11vw, 6.2rem); letter-spacing: -0.055em; }
h3 { font-size: clamp(1.65rem, 6vw, 2.6rem); letter-spacing: -0.035em; }
em { color: var(--taupe); font-weight: 400; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 28px, 1480px);
  margin: 14px auto 0;
  padding: 7px 12px 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.9);
  border-color: rgba(56, 46, 42, 0.11);
  box-shadow: 0 12px 34px rgba(56, 46, 42, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
/* Keep the mobile navigation fixed to the viewport, not to a blurred
   header. A backdrop-filter on an ancestor changes the containing block
   for fixed-position children in Safari and Chromium. */
@media (max-width: 759px) {
  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.menu-open .site-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(199, 167, 125, 0.72);
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 7px 18px rgba(72, 54, 45, 0.1);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.145em;
  line-height: 1;
  white-space: nowrap;
}
.brand-roman {
  color: var(--espresso);
  font-weight: 400;
}
.brand-sites {
  background: linear-gradient(105deg, #70462a 0%, #c18e4f 46%, #7e5131 100%);
  color: #8f623b;
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: 0.105em;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 18px rgba(146, 99, 55, 0.1);
}
.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 13px 10px;
  border: 0;
  border-radius: 50%;
  background: var(--espresso);
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transition: transform 220ms ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 90px 28px 40px;
  background: rgba(250, 247, 242, 0.98);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1.2;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.42em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible { color: var(--taupe); text-decoration-color: currentColor; }
.site-nav .nav-cta {
  align-self: flex-start;
  margin-top: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(171,127,72,0.46);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,248,231,0.12)),
    url("assets/cta-sky-sand-v2.webp") 52% 52% / 112% auto no-repeat;
  color: #332820;
  box-shadow: 0 10px 24px rgba(113,82,49,0.14), inset 0 1px 0 rgba(255,255,255,0.7);
}

.hero {
  min-height: 850px;
  padding: 156px 6px 70px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -3;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 78% 12%, rgba(255,255,255,0.9), transparent 26%),
    linear-gradient(135deg, #fbf8f4 0%, #f0e4d5 58%, #e8d4c0 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { max-width: 760px; margin-bottom: 28px; }
.hero-lead { max-width: 610px; margin-bottom: 16px; font-size: clamp(1.08rem, 4vw, 1.4rem); line-height: 1.5; }
.hero-note { max-width: 560px; margin-bottom: 30px; color: var(--brown); font-size: 0.94rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, .brand:focus-visible, .about-card:focus-visible {
  outline: 2px solid var(--espresso);
  outline-offset: 4px;
}
.button-dark,
.button-light {
  border-color: rgba(171,127,72,0.46);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,248,231,0.12)),
    url("assets/cta-sky-sand-v2.webp") 52% 52% / 112% auto no-repeat;
  color: #332820;
  box-shadow: 0 15px 34px rgba(113,82,49,0.2), inset 0 1px 0 rgba(255,255,255,0.76);
}
.button-dark:hover,
.button-light:hover {
  border-color: rgba(153,105,53,0.64);
  background-position: 0 0, 48% 48%;
  box-shadow: 0 19px 42px rgba(113,82,49,0.25), inset 0 1px 0 rgba(255,255,255,0.82);
}
.hero .button-dark {
  border-color: rgba(171, 127, 72, 0.46);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,248,231,0.12)),
    url("assets/cta-sky-sand-v2.webp") 52% 52% / 112% auto no-repeat;
  color: #332820;
  box-shadow:
    0 15px 34px rgba(113, 82, 49, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.76);
  transition: transform 180ms ease, box-shadow 180ms ease, background-position 260ms ease, border-color 180ms ease;
}
.hero .button-dark:hover {
  border-color: rgba(153, 105, 53, 0.64);
  background-position: 48% 48%;
  box-shadow:
    0 19px 42px rgba(113, 82, 49, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.82);
}
.text-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--espresso);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.hero-art {
  position: relative;
  width: min(100%, 560px);
  height: 350px;
  margin: 58px 0 20px auto;
}
.portrait-frame {
  position: absolute;
  inset: 0 0 0 36px;
  overflow: hidden;
  border-radius: 240px 240px 22px 240px;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 53%;
  filter: saturate(0.9) contrast(0.97) brightness(1.02);
  transform: scale(1.015);
}
.portrait-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(240,228,213,0.32), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(56,46,42,0.08));
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(25px);
  opacity: 0.58;
  animation: drift 9s ease-in-out infinite alternate;
}
.glow-one { top: 14%; right: 8%; width: 270px; height: 270px; background: rgba(255,255,255,0.86); }
.glow-two { bottom: 9%; left: 10%; width: 190px; height: 190px; background: rgba(230,196,156,0.42); animation-delay: -4s; }
.about { padding: 110px 0 120px; }
.about-intro { max-width: 720px; }
.about-copy { max-width: 660px; margin: 32px 0 44px; }
.large-copy { font-family: var(--serif); font-size: clamp(1.6rem, 5.7vw, 2.6rem); line-height: 1.25; }
.about-copy > p:last-child { color: var(--brown); }
.about-gallery { display: grid; gap: 18px; }
.about-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(56,46,42,0.1);
  border-radius: 28px;
  background: rgba(255,253,249,0.72);
  box-shadow: 0 22px 60px rgba(72,54,45,0.11);
  color: var(--espresso);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.about-card:hover { transform: translateY(-5px); box-shadow: 0 30px 75px rgba(72,54,45,0.16); }
.about-card-media { display: block; overflow: hidden; aspect-ratio: 867 / 887; }
.about-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.65,.3,1); }
.about-card:hover img { transform: scale(1.025); }
.about-card-meta { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 18px 20px 20px; }
.about-card-meta strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; line-height: 1.2; }
.about-card-meta small { flex: 0 0 auto; color: var(--taupe); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.principles {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}
.principles li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.22rem;
}
.principles span {
  color: var(--taupe);
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.services {
  padding: 110px 0;
  color: var(--espresso);
}
.services::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -1;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 88% 8%, rgba(255,255,255,0.78), transparent 25%),
    radial-gradient(circle at 12% 92%, rgba(199,167,125,0.2), transparent 28%),
    linear-gradient(135deg, #f8f2e9 0%, #f0e4d5 54%, #e4cfb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -1px 0 rgba(167,135,112,0.18);
}
.services .eyebrow { color: var(--taupe); }
.services-heading { display: grid; gap: 24px; margin-bottom: 70px; }
.services-heading > p { max-width: 520px; color: var(--brown); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 16px;
  padding: 30px 0;
  border-top: 1px solid rgba(56,46,42,0.17);
}
.service-row:last-child { border-bottom: 1px solid rgba(56,46,42,0.17); }
.service-index { padding-top: 5px; color: var(--taupe); font-size: 0.68rem; letter-spacing: 0.14em; }
.service-row h3 { margin-bottom: 15px; font-size: clamp(2rem, 7vw, 3.8rem); }
.service-row p { max-width: 640px; margin-bottom: 0; color: var(--brown); font-size: 0.92rem; }
.service-row svg {
  display: none;
  fill: none;
  stroke: #a77f57;
  stroke-width: 1.25;
}

.work { padding: 120px 0; }
.work-heading { display: grid; gap: 12px; margin-bottom: 70px; }
.work-heading p:last-child { max-width: 420px; color: var(--brown); }
.project {
  position: relative;
  margin-bottom: 36px;
  overflow: hidden;
  border-radius: 32px;
}
.project-info {
  position: relative;
  z-index: 3;
  padding: 34px 24px 48px;
}
.project-count { margin-bottom: 55px; font-size: 0.65rem; letter-spacing: 0.16em; }
.project-type { margin-bottom: 16px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.project h3 { margin-bottom: 25px; font-size: clamp(3.2rem, 13vw, 6rem); }
.project-info > p:not(.project-count,.project-type) { max-width: 600px; }
.project-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; padding: 0; list-style: none; }
.project-features li { padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.63rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.82; }
.project-laser {
  background:
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.78), transparent 27%),
    linear-gradient(145deg, #f8f2e8 0%, #eadbc7 56%, #d9bf99 100%);
  color: var(--espresso);
}
.project-laser .button-light {
  border-color: rgba(171,127,72,0.46);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,248,231,0.12)),
    url("assets/cta-sky-sand-v2.webp") 52% 52% / 112% auto no-repeat;
  color: #332820;
  box-shadow: 0 15px 34px rgba(113,82,49,0.2), inset 0 1px 0 rgba(255,255,255,0.76);
}
.project-laser .button-light:hover {
  border-color: rgba(153,105,53,0.64);
  background-position: 0 0, 48% 48%;
  box-shadow: 0 19px 42px rgba(113,82,49,0.25), inset 0 1px 0 rgba(255,255,255,0.82);
}
.project-pretty { background: #dce6dc; color: #153e28; }
.preview-label {
  display: inline-flex;
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.device-stage {
  position: relative;
  min-height: 420px;
  margin-top: 10px;
  padding: 0 18px 46px;
}
.browser-device {
  width: 100%;
  overflow: hidden;
  border: 7px solid #191715;
  border-radius: 16px;
  background: #191715;
  box-shadow: 0 32px 70px rgba(0,0,0,0.3);
}
.browser-bar {
  display: flex;
  height: 27px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  background: #f3efe8;
  color: #665e59;
  font-size: 7px;
}
.browser-bar span { width: 5px; height: 5px; border-radius: 50%; background: #c6b8aa; }
.browser-bar b { max-width: 70%; margin-left: 6px; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.browser-device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  object-position: top center;
}
.phone-device {
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 5;
  width: 124px;
  height: 267px;
  overflow: hidden;
  border: 5px solid #191715;
  border-radius: 23px;
  background: white;
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
}
.phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  z-index: 4;
  width: 43px;
  height: 9px;
  border-radius: 999px;
  background: #191715;
  transform: translateX(-50%);
}
.phone-device iframe {
  width: 390px;
  height: 844px;
  border: 0;
  pointer-events: none;
  transform: scale(0.292);
  transform-origin: top left;
}

.process {
  display: grid;
  gap: 70px;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.process-intro { max-width: 750px; }
.process-intro > p:last-child { max-width: 500px; margin-top: 26px; color: var(--brown); }
.process-steps { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.process-steps li:last-child { border-bottom: 1px solid var(--line); }
.process-steps > li > span { color: var(--taupe); font-size: 0.7rem; letter-spacing: 0.14em; }
.process-steps h3 { margin-bottom: 12px; font-size: clamp(1.8rem, 6vw, 2.8rem); }
.process-steps p { max-width: 600px; margin-bottom: 0; color: var(--brown); }

.value { padding: 120px 0; }
.value::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -2;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #efe1d2, #faf7f2 52%, #ead9c7);
}
.value-heading { position: relative; z-index: 2; }
.value-orbit {
  position: relative;
  display: grid;
  width: min(74vw, 360px);
  margin: 42px auto 62px;
  aspect-ratio: 1;
  place-items: center;
}
.orbit-mark {
  display: grid;
  width: clamp(260px, 30vw, 370px);
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(167,135,112,0.34);
  border-radius: 50%;
  background: rgba(250,247,242,0.5);
  box-shadow: 0 25px 60px rgba(89,67,54,0.16);
}
.orbit-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.value-list { display: grid; }
.value-list article { padding: 26px 0; border-top: 1px solid var(--line); }
.value-list article:last-child { border-bottom: 1px solid var(--line); }
.value-list span { color: var(--taupe); font-size: 0.68rem; letter-spacing: 0.14em; }
.value-list h3 { margin: 12px 0; font-size: 2.1rem; }
.value-list p { margin-bottom: 0; color: var(--brown); font-size: 0.9rem; }

.contact {
  min-height: 780px;
  color: var(--espresso);
  isolation: isolate;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -2;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 83% 18%, rgba(194,216,227,0.72), transparent 28%),
    radial-gradient(circle at 72% 54%, rgba(255,248,222,0.82), transparent 32%),
    linear-gradient(145deg, #f8f2ea 0%, #ead8c7 58%, #d9c0a8 100%);
}
.contact-main {
  position: relative;
  padding: 130px 0 100px;
  isolation: isolate;
}
.contact-main::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -1;
  background: #fff;
  transform: translateX(-50%);
}
.contact-inner { max-width: 850px; }
.contact h2 { font-size: clamp(3.5rem, 14vw, 7rem); }
.contact-inner > p:not(.eyebrow,.contact-note) { max-width: 630px; margin: 30px 0; color: var(--brown); font-size: 1.06rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.contact-actions .button-dark {
  border-color: rgba(171,127,72,0.46);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,248,231,0.12)),
    url("assets/cta-sky-sand-v2.webp") 52% 52% / 112% auto no-repeat;
  color: #332820;
  box-shadow: 0 15px 34px rgba(113,82,49,0.2), inset 0 1px 0 rgba(255,255,255,0.76);
}
.contact-actions button:disabled { cursor: not-allowed; opacity: 0.9; }
.contact-actions span { color: var(--brown); font-size: 0.78rem; }
.contact-note { margin-top: 14px; color: #765844; font-size: 0.72rem; }
.site-footer {
  padding: 42px 0 30px;
  border-top: 1px solid rgba(56,46,42,0.17);
  color: var(--brown);
  font-size: 0.76rem;
}
.footer-main { display: grid; gap: 34px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-brand-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 7px; text-decoration: none; }
.footer-logo { width: 58px; height: 58px; overflow: hidden; border: 1px solid rgba(167,135,112,0.34); border-radius: 50%; box-shadow: 0 10px 24px rgba(89,67,54,0.12); }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.site-footer strong { color: var(--espresso); font-family: var(--serif); font-size: 1rem; font-weight: 400; letter-spacing: 0.18em; }
.footer-brand > p { color: var(--espresso); }
.footer-brand > span { max-width: 390px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color 180ms ease; }
.footer-links a:hover, .footer-links a:focus-visible, .footer-contact a:hover, .footer-contact a:focus-visible { color: #865f43; }
.footer-label { margin-bottom: 5px; color: var(--taupe); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-bottom { display: flex; flex-direction: column; gap: 5px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(56,46,42,0.12); }
.site-footer p { margin: 0; }

.has-motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.2,.65,.3,1), transform 700ms cubic-bezier(.2,.65,.3,1);
}
.has-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes drift {
  from { transform: translate3d(-8px, -5px, 0) scale(1); }
  to { transform: translate3d(10px, 12px, 0) scale(1.08); }
}

@media (min-width: 760px) {
  :root { --page: calc(100% - 64px); }
  .site-header { width: min(100% - 44px, 1480px); margin-top: 18px; padding-inline: 18px 10px; }
  .brand-mark { width: 44px; height: 44px; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav a { padding: 8px 0; border: 0; font-family: var(--sans); font-size: 0.69rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
  .site-nav .nav-cta {
    align-self: auto;
    margin-top: 0;
    padding: 11px 17px;
    border: 1px solid rgba(171,127,72,0.46);
    border-radius: 999px;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,248,231,0.12)),
      url("assets/cta-sky-sand-v2.webp") 52% 52% / 112% auto no-repeat;
    color: #332820;
    box-shadow: 0 10px 24px rgba(113,82,49,0.14), inset 0 1px 0 rgba(255,255,255,0.7);
  }
  .hero { min-height: 910px; padding: 200px 0 70px; }
  .hero-copy { width: 63%; }
  .hero-art { position: absolute; top: 200px; right: -10%; z-index: -1; width: 56%; height: 630px; margin: 0; }
  .portrait-frame { inset: 0; border-radius: 320px 0 0 320px; }
  .portrait-frame img { object-position: 59% 54%; }
  .portrait-wash { background: linear-gradient(90deg, rgba(240,228,213,0.78), rgba(240,228,213,0.08) 36%, rgba(56,46,42,0.04)); }
  .hero-note { max-width: 500px; }
  .about { display: grid; grid-template-columns: 1fr 0.9fr; gap: 58px 7%; padding: 125px 0 135px; }
  .about-intro { grid-column: 1; max-width: none; }
  .about-copy { grid-column: 2; align-self: end; margin: 0; }
  .about-gallery { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .about-card-meta { flex-direction: row; align-items: center; gap: 18px; }
  .principles { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .services { padding: 145px 0; }
  .services-heading { grid-template-columns: 1.35fr 0.65fr; align-items: end; }
  .service-row { grid-template-columns: 64px minmax(0,1fr) 100px; align-items: center; padding: 42px 0; }
  .service-row svg { display: block; width: 66px; justify-self: end; }
  .work { padding: 145px 0; }
  .work-heading { grid-template-columns: 1fr auto; align-items: end; }
  .project { display: grid; min-height: 800px; grid-template-columns: minmax(330px, 0.72fr) minmax(520px, 1.28fr); margin-bottom: 58px; }
  .project-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px 28px 60px 54px; }
  .project-count { position: absolute; top: 34px; left: 54px; margin: 0; }
  .project h3 { font-size: clamp(4.2rem, 7vw, 7rem); }
  .device-stage { min-height: 100%; margin: 0; padding: 92px 34px 78px; }
  .browser-device { width: 100%; border-width: 10px; border-radius: 22px; }
  .phone-device { right: 9%; bottom: 34px; width: 175px; height: 376px; border-width: 7px; border-radius: 32px; }
  .phone-device iframe { transform: scale(0.413); }
  .process { grid-template-columns: 0.9fr 1.1fr; gap: 10%; padding: 145px 0; }
  .process-intro { position: sticky; top: 150px; align-self: start; }
  .process-steps li { grid-template-columns: 70px 1fr; padding: 38px 0; }
  .value { display: grid; min-height: 1050px; grid-template-columns: 1fr 1fr; column-gap: 4%; padding: 145px 0; }
  .value-heading { grid-column: 1 / -1; width: 72%; }
  .value-orbit { position: static; grid-column: 1; grid-row: 2; width: 100%; height: auto; margin: 80px 0 0; aspect-ratio: 1; align-self: center; }
  .value-list { grid-column: 2; grid-row: 2; width: 100%; margin: 80px 0 0; }
  .value-list article { display: grid; grid-template-columns: 50px 0.7fr 1.3fr; gap: 14px; align-items: start; padding: 36px 0; }
  .value-list h3 { margin: 0; }
  .value-list p { margin-top: 3px; }
  .contact { min-height: 900px; }
  .contact-main { padding-top: 160px; }
  .contact-actions { flex-direction: row; align-items: center; gap: 24px; }
  .footer-main { grid-template-columns: minmax(340px, 1.5fr) 0.65fr 1fr; align-items: start; }
  .footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer-bottom p:nth-child(2) { text-align: center; }
  .footer-bottom p:last-child { text-align: right; }
}

@media (min-width: 1160px) {
  .hero-copy { width: 58%; }
  .hero-art { right: -4%; width: 58%; height: 660px; }
  .project-info { padding-left: 72px; }
  .project-count { left: 72px; }
  .browser-device { width: 100%; }
  .phone-device { right: 12%; width: 195px; height: 420px; }
  .phone-device iframe { transform: scale(0.464); }
}

@media (max-width: 440px) {
  .hero { min-height: 930px; }
  .hero-art { height: 315px; }
  .portrait-frame { left: 24px; }
  .project-info { padding-inline: 20px; }
  .device-stage { min-height: 370px; }
  .browser-device { width: calc(100% + 72px); }
}

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