:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #1b1b19;
  --muted: #65635d;
  --gold: #a66a12;
  --line: #e1ddd3;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
.container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 12px 20px; background: var(--ink); color: #fff; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 104px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 26px; letter-spacing: -.03em; }
.brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
  min-height: min(710px, calc(100svh - 270px));
  padding-block: 48px 72px;
}
.logo-stage { position: relative; isolation: isolate; perspective: 1100px; padding: 20px 0 36px; }
.logo-light {
  position: absolute;
  inset: 4% -5% 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at var(--light-x, 48%) var(--light-y, 44%), rgba(236, 181, 87, .13), rgba(250, 248, 243, 0) 68%);
}
.logo-depth { transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transform-style: preserve-3d; transition: transform 650ms cubic-bezier(.2, .7, .2, 1); }
.logo-stage.is-interacting .logo-depth { transition-duration: 130ms; }
/* Each layer uses the same original artwork, isolated with CSS masks. */
.logo-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.logo-toggle:disabled { cursor: default; opacity: 1; }
.logo-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 10px; border-radius: 12px; }
.logo-artwork { display: block; position: relative; width: 100%; aspect-ratio: 1 / .86; transform-style: preserve-3d; }
.logo-artwork img { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; }
.logo-core {
  mask-image: radial-gradient(circle closest-side at 50% 45.5%, #000 0 78%, transparent 79%);
  clip-path: polygon(0 0, 35% 0, 35% 35%, 65% 35%, 65% 0, 100% 0, 100% 100%, 0 100%);
  transform: translateZ(24px);
  filter: drop-shadow(1px 1px 0 #785622) drop-shadow(0 8px 10px rgba(62, 43, 17, .09));
}
.logo-sun {
  clip-path: polygon(35% 17%, 65% 17%, 65% 35%, 35% 35%);
  transform: translateZ(10px);
}
.logo-ring, .rotating-ring {
  mask-image: radial-gradient(circle closest-side at 50% 45.5%, transparent 0 79%, #000 80% 90%, transparent 91%);
  clip-path: inset(0 0 15.5% 0);
  transform-origin: 50% 45.5%;
  transform: rotateY(0deg);
  filter: drop-shadow(1px 2px 1px rgba(127, 82, 17, .2));
}
.motion-enabled .rotating-ring { animation: logo-rotation var(--ring-duration, 26s) linear infinite; }
.motion-paused .rotating-ring {
  animation-play-state: paused;
  /* Face forward while paused so an edge-on ring never looks missing. */
  transform: rotateY(0deg) !important;
}
@keyframes logo-rotation {
  from { transform: rotateZ(-25deg) rotateX(38deg) rotateY(0deg); }
  to { transform: rotateZ(-25deg) rotateX(38deg) rotateY(360deg); }
}
@keyframes sun-rise {
  from { opacity: 0; transform: translateY(15%) translateZ(10px); }
  to { opacity: 1; transform: translateY(0) translateZ(10px); }
}
@keyframes name-reveal {
  from { opacity: 0; transform: translateY(18px) rotateX(75deg); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) rotateX(0deg); filter: blur(0); }
}
.name-word { display: inline-block; white-space: nowrap; }
.name-word > span { display: inline-block; }
.dimensional-name {
  display: block;
  position: relative;
  margin-top: 22px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(25px, 3.1vw, 44px);
  line-height: 1.1;
  letter-spacing: .035em;
  color: #24211b;
  transform: translateZ(38px) rotateX(-6deg);
  text-shadow: 0 1px 1px rgba(80, 58, 25, .12), 0 3px 8px rgba(46, 31, 9, .06);
}
.ground-shadow { position: absolute; bottom: 8px; left: 18%; width: 64%; height: 20px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(78, 58, 26, .12), transparent 70%); filter: blur(6px); }
.hero-copy { padding-bottom: 12px; }
h1 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(4.2rem, 6.5vw, 6.6rem); font-weight: 400; line-height: 1.01; letter-spacing: -.055em; text-shadow: 0 2px 0 rgba(255, 255, 255, .8), 0 7px 14px rgba(45, 34, 15, .045); }
h1 span { color: var(--gold); }
.supporting-line { max-width: 390px; font-size: 16px; color: var(--muted); line-height: 1.8; }
.button { display: inline-flex; align-items: center; gap: 42px; min-height: 54px; margin-top: 30px; padding: 15px 25px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 3px; box-shadow: 0 2px 0 rgba(19, 19, 17, .14), 0 8px 16px rgba(19, 19, 17, .09); font-size: 13px; font-weight: 550; transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease; }
.button span { color: #edbb68; }
.secondary-line { margin-top: 24px; color: var(--muted); font-family: var(--serif); font-size: 15px; font-style: italic; }

.contact { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-link { display: grid; grid-template-columns: 1fr auto; padding: 28px 38px 28px 0; column-gap: 18px; }
.contact-link + .contact-link { padding-left: 38px; border-left: 1px solid var(--line); }
.contact-label { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.contact-value { grid-column: 1; font-size: 15px; margin-top: 7px; overflow-wrap: anywhere; }
.contact-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--gold); }
.contact-link:hover .contact-value { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 25px; color: var(--muted); font-size: 11px; }
.site-footer > span { color: var(--ink); font-family: var(--serif); font-size: 17px; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); background: #30302a; box-shadow: 0 3px 0 rgba(19, 19, 17, .12), 0 12px 22px rgba(19, 19, 17, .13); }
  .button:active { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .name-word > span { animation: name-reveal 700ms cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(200ms + var(--letter) * 110ms); }
  .motion-enabled .logo-sun { animation: sun-rise 220ms 50ms ease-out both; }
  .hero-copy { animation: arrive 800ms 100ms cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.logo-stage.intro-complete .logo-sun,
.logo-stage.intro-complete .name-word > span {
  animation: none;
  opacity: 1;
}
.logo-stage.intro-complete .logo-sun { transform: translateZ(10px); }
.logo-stage.intro-complete .name-word > span { transform: none; filter: none; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 40px; min-height: 580px; }
  h1 { font-size: clamp(3.7rem, 7vw, 5rem); }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 82px; gap: 14px; }
  .brand { font-size: 23px; gap: 8px; }
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-block: 8px 48px; }
  .logo-stage { width: min(310px, 90%); margin-inline: auto; padding: 0 0 22px; }
  .rotating-ring { --ring-duration: 24s; }
  .dimensional-name { font-size: clamp(23px, 7vw, 30px); margin-top: 16px; }
  .hero-copy { padding: 0; text-align: center; }
  h1 { font-size: clamp(3.7rem, 14vw, 5.2rem); margin-bottom: 22px; }
  .supporting-line { font-size: 15px; max-width: 340px; margin-inline: auto; }
  .button { margin-top: 24px; }
  .secondary-line { font-size: 14px; margin-top: 20px; }
  .contact { grid-template-columns: 1fr; }
  .contact-link { padding: 22px 0; }
  .contact-link + .contact-link { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .contact-value { font-size: 14px; }
  .site-footer { font-size: 10px; padding-block: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .logo-depth, .button { transform: none !important; }
}
