:root {
  --ink: #090d18;
  --ink-soft: #111724;
  --walnut: #4b2d1f;
  --walnut-deep: #2e1b13;
  --oak: #c79a61;
  --brass: #d3aa69;
  --paper: #f3eee5;
  --paper-2: #e8dfd2;
  --white: #fffdf9;
  --muted: #9a9288;
  --line: rgba(211, 170, 105, 0.28);
  --line-light: rgba(243, 238, 229, 0.18);
  --shadow: 0 24px 80px rgba(3, 5, 10, 0.26);
  --header-h: 76px;
  --page: min(1180px, calc(100% - 40px));
  --radius-sm: 3px;
  --radius-md: 10px;
  --radius-lg: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--brass); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
.skip-link:focus { transform: translateY(0); opacity: 1; pointer-events: auto; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: var(--ink);
  pointer-events: none;
  animation: loader-away .5s ease 1.05s forwards;
}
.site-loader__mark {
  width: 66px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--brass);
  font: 700 1.35rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.05em;
}
.site-loader__mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid transparent;
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.site-loader.is-gone { display: none; }
@keyframes loader-away { to { opacity: 0; visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(9,13,24,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(211,170,105,.25);
}
.brand span {
  display: none;
  color: var(--paper);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: lowercase;
}
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 20px;
  right: 20px;
  display: none;
  padding: 18px;
  background: #101621;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: grid; }
.site-nav a {
  padding: 12px 8px;
  color: #d9d1c6;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-nav a:last-child { border-bottom: 0; }
.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { margin: 4px 0; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }
.header-mail {
  display: none;
  color: var(--brass);
  font-size: .78rem;
  letter-spacing: .05em;
}

main { overflow: clip; }
.section {
  position: relative;
  padding: clamp(76px, 10vw, 150px) 0;
}
.section-inner { width: var(--page); margin: 0 auto; }
.section-kicker {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 7.8rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.055em;
}

.hero {
  min-height: calc(100svh - var(--header-h));
  padding: 26px 0 64px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 83% 18%, rgba(199,154,97,.14), transparent 24%),
    linear-gradient(180deg, #090d18 0%, #0b101a 100%);
}
.hero-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.hero-copy { position: relative; z-index: 3; }
.hero-logo {
  width: 98px;
  height: 98px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 36px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(211,170,105,.2);
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 12vw, 6.8rem);
  line-height: .82;
  font-weight: 400;
  letter-spacing: -.075em;
}
.hero-word, .hero-tld { display: block; white-space: nowrap; }
.hero-tld { font-size: .78em; margin-left: .7ch; margin-top: .08em; }
.hero-domain-dot { color: var(--brass); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #111018;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(211,170,105,.18); }
.button--ghost { background: transparent; color: var(--paper); border-color: rgba(243,238,229,.28); }
.button--ghost:hover { border-color: var(--brass); color: var(--brass); }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.36);
  transform: scale(0);
  animation: ripple .55s ease-out;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(3.4); opacity: 0; } }

.hero-visual {
  position: relative;
  min-height: 560px;
}
.hero-photo {
  width: 78%;
  height: 520px;
  margin-left: auto;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(.78) contrast(1.06);
  box-shadow: var(--shadow);
}
.hero-photo-frame {
  position: absolute;
  inset: 28px 8% auto auto;
  width: 78%;
  height: 520px;
  border: 1px solid var(--line);
  transform: translate(18px, 18px);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 180px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  border-top: 1px solid rgba(211,170,105,.38);
}
.hero-line {
  position: absolute;
  left: 18%;
  top: 28px;
  bottom: 160px;
  width: 1px;
  background: linear-gradient(var(--brass), transparent);
  opacity: .45;
}

.about { background: var(--paper); color: var(--ink); }
.about-layout { display: grid; gap: 42px; }
.about .section-kicker { color: var(--walnut); }
.about-title-wrap { align-self: end; }
.about-visual {
  position: relative;
  min-height: 500px;
  border-left: 1px solid rgba(75,45,31,.28);
  padding-left: 28px;
}
.about-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  filter: sepia(.09) saturate(.8);
}
.about-visual::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -12px;
  top: -12px;
  border-top: 1px solid var(--walnut);
  border-right: 1px solid var(--walnut);
  opacity: .55;
}

.services {
  background: #0d121c;
}
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
}
.services-rule {
  width: min(38%, 300px);
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, transparent, var(--brass));
}
.services-collage {
  display: grid;
  gap: 20px;
}
.services-collage figure { margin: 0; position: relative; overflow: hidden; }
.services-collage img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .45s ease;
  filter: saturate(.72) contrast(1.05);
}
.services-collage figure:hover img { transform: scale(1.025); filter: saturate(.92); }
.services-collage figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(211,170,105,.25);
  pointer-events: none;
}

.features {
  background: var(--paper-2);
  color: var(--ink);
}
.features .section-kicker { color: var(--walnut); }
.features-grid { display: grid; gap: 36px; align-items: center; }
.features-art {
  position: relative;
  isolation: isolate;
}
.features-art img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  box-shadow: 18px 18px 0 var(--walnut);
}
.features-art::before {
  content: "DF";
  position: absolute;
  z-index: 2;
  right: -6px;
  bottom: -44px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 20vw, 11rem);
  line-height: 1;
  color: rgba(9,13,24,.08);
  letter-spacing: -.09em;
  pointer-events: none;
}
.features-title-wrap { padding-bottom: 30px; }

.why {
  min-height: 720px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9,13,24,.94), rgba(9,13,24,.70)),
    url("../images/wood-surface.webp") center/cover no-repeat;
}
.why-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  gap: 36px;
  align-items: center;
}
.why-logo {
  width: min(260px, 56vw);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  justify-self: end;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.46);
}

.contact {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid rgba(75,45,31,.18);
}
.contact-grid {
  display: grid;
  gap: 36px;
  align-items: end;
}
.contact .section-kicker { color: var(--walnut); }
.contact-data {
  border-top: 1px solid rgba(75,45,31,.28);
  padding-top: 24px;
}
.contact-name {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 4.3rem);
  font-weight: 400;
  line-height: .95;
  overflow-wrap: anywhere;
}
.contact-email {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--walnut);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.contact .button { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact .button:hover { background: var(--walnut); border-color: var(--walnut); }

.site-footer {
  padding: 34px 0 40px;
  background: #070a11;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}
.footer-email { color: var(--brass); font-size: .86rem; overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-nav a { color: #b8b1a9; font-size: .78rem; }
.footer-nav a:hover { color: var(--brass); }

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(9,13,24,.9);
  color: var(--brass);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, background .22s ease;
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--walnut); }

/* Privacy Policy: editorial reader layout, intentionally no table of contents. */
.policy-page { background: var(--paper); color: var(--ink); color-scheme: light; }
.policy-page .site-header {
  background: rgba(243,238,229,.93);
  border-bottom-color: rgba(75,45,31,.16);
}
.policy-page .brand span { color: var(--ink); }
.policy-page .nav-toggle { color: var(--ink); border-color: rgba(75,45,31,.28); }
.policy-page .site-nav { background: var(--paper); border-color: rgba(75,45,31,.2); }
.policy-page .site-nav a { color: var(--ink); border-color: rgba(75,45,31,.12); }
.policy-page .header-mail { color: var(--walnut); }
.policy-shell {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 100px) 0 110px;
}
.policy-masthead {
  display: grid;
  gap: 26px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(75,45,31,.24);
}
.policy-masthead__mark {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 50%;
}
.policy-masthead h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 9vw, 6.3rem);
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.055em;
}
.policy-updated {
  margin: 0;
  color: var(--walnut);
  font-weight: 700;
  letter-spacing: .02em;
}
.policy-body {
  display: grid;
  gap: 0;
  margin-top: 0;
}
.policy-lead {
  padding: 44px 0 10px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 760px;
}
.policy-lead p { margin: 0 0 18px; }
.policy-section {
  display: grid;
  gap: 20px;
  padding: 40px 0 44px;
  border-top: 1px solid rgba(75,45,31,.18);
}
.policy-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.policy-copy { max-width: 760px; }
.policy-copy p { margin: 0 0 16px; }
.policy-copy p:last-child { margin-bottom: 0; }
.policy-copy ul {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}
.policy-copy li {
  position: relative;
  padding: 8px 0 8px 24px;
}
.policy-copy li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--walnut);
  font-weight: 800;
}
.policy-copy a {
  color: var(--walnut);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.policy-contact {
  padding: 22px 0 0;
  font-weight: 650;
}
.policy-page .site-footer { background: var(--ink); color: var(--paper); }

/* Motion enhancement never hides primary content. */
.motion-image { transition: transform .7s cubic-bezier(.2,.75,.2,1), box-shadow .7s ease; }
.motion-image.is-visible { transform: translateY(-4px); }

@media (min-width: 720px) {
  :root { --page: min(1180px, calc(100% - 72px)); }
  .brand span { display: inline; }
  .header-mail { display: inline-block; }
  .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(350px, .94fr); align-items: center; }
  .hero-visual { min-height: 660px; }
  .hero-photo, .hero-photo-frame { height: 620px; }
  .about-layout { grid-template-columns: .82fr 1.18fr; align-items: center; }
  .about-title-wrap { padding-bottom: 44px; }
  .services-collage { grid-template-columns: .72fr 1.28fr; align-items: end; }
  .services-collage figure:first-child { margin-top: 110px; }
  .services-collage figure:first-child img { height: 460px; }
  .services-collage figure:last-child img { height: 620px; }
  .features-grid { grid-template-columns: 1.05fr .95fr; gap: 82px; }
  .why-inner { grid-template-columns: 1.25fr .75fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 90px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-nav { justify-content: flex-end; }
  .policy-masthead { grid-template-columns: auto 1fr; align-items: end; }
  .policy-updated { grid-column: 2; }
  .policy-section { grid-template-columns: minmax(220px, .56fr) minmax(0, 1.44fr); gap: 64px; }
  .policy-lead { margin-left: calc(220px + 64px); }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-nav a {
    position: relative;
    padding: 8px 0;
    border: 0;
    font-size: .76rem;
    letter-spacing: .04em;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
  }
  .site-nav a:hover::after,
  .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .policy-page .site-nav a::after { background: var(--walnut); }
  .hero { padding-top: 40px; }
  .hero h1 { margin-left: -5px; }
  .hero-visual { transform: translateX(4%); }
  .policy-shell { width: min(1160px, calc(100% - 90px)); }
}

@media (max-width: 520px) {
  :root { --page: min(100% - 28px, 1180px); }
  .site-header { height: 68px; --header-h: 68px; }
  .header-inner { gap: 12px; }
  .brand img { width: 42px; height: 42px; }
  .hero-logo { width: 82px; height: 82px; margin-bottom: 28px; }
  .hero-visual { min-height: 500px; }
  .hero-photo { width: 86%; height: 455px; }
  .hero-photo-frame { width: 86%; height: 455px; right: 4%; }
  .hero-grain { height: 145px; width: 52%; }
  .section { padding: 76px 0; }
  .services-head { margin-bottom: 38px; }
  .services-rule { display: none; }
  .about-visual { padding-left: 16px; min-height: 430px; }
  .about-visual img { height: 430px; }
  .why { min-height: 620px; }
  .policy-shell { width: min(100% - 28px, 1180px); }
}

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