:root {
  color-scheme: dark;
  --bg: #090a0c;
  --surface: #111216;
  --surface-2: #17181c;
  --ink: #f2f0ea;
  --muted: #b9b6af;
  --dim: #88877f;
  --gold: #c7a978;
  --gold-soft: #8e754e;
  --blue: #648ed0;
  --line: rgba(211, 187, 143, .22);
  --line-cool: rgba(124, 153, 189, .16);
  font-family: "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
::selection { background: #bd9b63; color: #08090b; }

.page {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 64% 45% at 82% 30%, rgba(101, 81, 48, .11), transparent 72%),
    radial-gradient(ellipse 38% 30% at 5% 82%, rgba(32, 59, 104, .10), transparent 78%),
    var(--bg);
}
.grain {
  position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}
.wrap { width: min(1380px, calc(100% - 104px)); margin-inline: auto; }
.site-head {
  min-height: 102px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; border-bottom: 1px solid var(--line-cool); position: relative; z-index: 3;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: max-content; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.brand-name { font-weight: 750; font-size: 1.08rem; letter-spacing: .075em; line-height: 1; }
.brand-name span { display: block; margin-top: 8px; font-weight: 450; color: var(--muted); font-size: .67rem; letter-spacing: .23em; text-transform: uppercase; }
.top-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 52px); }
.top-nav a { text-decoration: none; font-size: .86rem; color: var(--muted); transition: color .2s; }
.top-nav a:hover { color: var(--gold); }
.language { display: flex; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 100px; padding: 4px; }
.language button { border: 0; background: transparent; color: var(--dim); padding: 7px 9px; border-radius: 100px; font-weight: 700; font-size: .7rem; letter-spacing: .07em; cursor: pointer; }
.language button[aria-pressed="true"] { color: #13110e; background: var(--gold); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.hero { position: relative; padding-block: clamp(68px, 9vw, 145px) clamp(75px, 8vw, 126px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(365px, .88fr); gap: clamp(38px, 5.5vw, 104px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 35px; height: 1px; flex: 0 0 35px; background: var(--gold); }
h1 { font-weight: 460; font-size: clamp(3.9rem, 7vw, 8.1rem); letter-spacing: -.068em; line-height: .98; margin: 38px 0 30px; max-width: 850px; }
h1 em { display: block; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -.068em; padding-right: .1em; }
.lead { max-width: 550px; color: #c5c2ba; font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.77; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 25px 32px; align-items: center; margin-top: 45px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px;
  background: var(--gold); color: #17130d; font-weight: 700; font-size: .9rem;
  text-decoration: none; border: 1px solid var(--gold); transition: background .2s, transform .2s;
}
.button:hover { background: #e1c393; transform: translateY(-2px); }
.text-link { color: var(--ink); text-underline-offset: 7px; text-decoration-color: var(--gold-soft); font-size: .88rem; font-weight: 600; }
.text-link:hover { color: var(--gold); }
.hero-note { display: flex; gap: 12px; align-items: center; color: var(--dim); font-size: .75rem; letter-spacing: .04em; margin-top: 58px; }
.hero-note span:first-child { color: var(--blue); }

.clock-shell { position: relative; padding-top: 82px; }
.orbit {
  position: absolute; width: 440px; height: 440px; top: -126px; right: -84px; border: 1px solid rgba(206, 175, 123, .16);
  border-radius: 48% 52% 50% 48%; transform: rotate(-17deg); pointer-events: none;
}
.orbit::before, .orbit::after { content: ""; display: block; position: absolute; inset: 23px; border: 1px solid rgba(206, 175, 123, .095); border-radius: 48% 53% 45% 53%; transform: rotate(25deg); }
.orbit::after { inset: 58px; transform: rotate(54deg); border-color: rgba(82, 129, 201, .12); }
.clock-index { position: absolute; top: 23px; right: 13px; display: flex; align-items: center; gap: 9px; color: var(--gold); font-size: .7rem; letter-spacing: .17em; font-weight: 700; }
.clock-index::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 13px var(--gold); }
.clock-card {
  position: relative; overflow: hidden; background: linear-gradient(153deg, rgba(31, 30, 28, .93), #111215 56%, #0b0c10);
  border: 1px solid var(--line); box-shadow: 0 28px 100px rgba(0, 0, 0, .36); padding: clamp(28px, 3.4vw, 50px);
}
.clock-card::before { content: ""; position: absolute; top: 0; left: 0; width: 32%; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.card-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.micro { color: var(--gold); font-size: .69rem; letter-spacing: .23em; font-weight: 700; text-transform: uppercase; }
.card-mark { font-family: Georgia, serif; font-style: italic; color: rgba(211, 186, 145, .36); font-size: 2.1rem; line-height: .7; }
.clock-title { margin: 57px 0 13px; font-weight: 500; font-size: clamp(1.65rem, 2.25vw, 2.55rem); line-height: 1.16; letter-spacing: -.045em; }
.clock-subtitle { color: var(--muted); margin: 0; font-size: .89rem; line-height: 1.65; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 39px 0 32px; }
.unit { min-width: 0; text-align: center; border-top: 1px solid var(--line); padding-top: 20px; }
.unit strong { display: block; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--ink); font-weight: 450; font-size: clamp(1.8rem, 3.05vw, 3.75rem); line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -.09em; }
.unit span { display: block; margin-top: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .11em; font-size: .62rem; font-weight: 700; }
.unit strong.tick { animation: tick .28s ease; }
@keyframes tick { from { opacity: .55; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.clock-foot { border-top: 1px solid var(--line-cool); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.clock-foot time { color: var(--gold); font-size: .83rem; font-weight: 700; letter-spacing: .03em; }
.clock-foot span { color: var(--dim); font-size: .72rem; white-space: nowrap; }
.clock-card.is-done .countdown { display: none; }
.clock-card.is-done .clock-title { margin-bottom: 35px; }

.manifesto { border-top: 1px solid var(--line-cool); padding-block: clamp(54px, 7vw, 110px); }
.section-header { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 48px; margin-bottom: 48px; }
.section-label { color: var(--gold); font-size: .72rem; letter-spacing: .23em; text-transform: uppercase; font-weight: 700; }
.section-header h2 { margin: 0; font-size: clamp(1.85rem, 3.4vw, 3.65rem); font-weight: 450; line-height: 1.14; letter-spacing: -.05em; max-width: 800px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { padding: 33px 36px 14px 0; }
.feature + .feature { padding-left: 36px; border-left: 1px solid var(--line); }
.feature-no { color: var(--blue); font-family: ui-monospace, Consolas, monospace; font-size: .76rem; }
.feature h3 { font-size: 1.21rem; font-weight: 570; letter-spacing: -.02em; margin: 24px 0 12px; }
.feature p { color: var(--muted); font-size: .89rem; line-height: 1.7; max-width: 330px; margin: 0; }

.contact { margin-bottom: 75px; padding: clamp(28px, 4.5vw, 54px); border: 1px solid var(--line); background: radial-gradient(ellipse 70% 120% at 95% 0%, rgba(92, 116, 155, .11), transparent 75%), #121317; display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.contact h2 { margin: 13px 0 0; font-size: clamp(1.45rem, 2.6vw, 2.6rem); letter-spacing: -.04em; font-weight: 480; }
.contact a { white-space: nowrap; }
footer { border-top: 1px solid var(--line-cool); padding-block: 27px 45px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; color: var(--dim); font-size: .75rem; }
footer a { color: var(--muted); text-underline-offset: 4px; }

@media (max-width: 1060px) {
  .wrap { width: min(100% - 64px, 1380px); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 77px; }
  .hero-copy h1 { max-width: 900px; }
  .clock-shell { width: min(100%, 690px); padding-top: 24px; }
  .orbit { top: -80px; }
  .clock-index { top: -27px; }
  .top-nav { gap: 20px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .site-head { min-height: 78px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: .82rem; }
  .brand-name span { font-size: .51rem; letter-spacing: .16em; margin-top: 6px; }
  .top-nav { display: none; }
  .language button { padding: 6px 7px; font-size: .65rem; }
  .hero { padding-block: 61px 74px; }
  .eyebrow { font-size: .61rem; gap: 10px; letter-spacing: .19em; }
  .eyebrow::before { width: 22px; flex-basis: 22px; }
  h1 { font-size: clamp(3.4rem, 12vw, 5.2rem); margin: 28px 0 25px; }
  .lead { font-size: 1rem; }
  .hero-actions { margin-top: 30px; }
  .hero-note { margin-top: 38px; }
  .clock-shell { padding-top: 30px; }
  .orbit { right: -180px; top: -70px; }
  .clock-index { top: -9px; right: 3px; }
  .clock-card { padding: 29px 23px; }
  .clock-title { margin-top: 43px; }
  .countdown { gap: 5px; margin-top: 32px; }
  .unit strong { font-size: clamp(1.85rem, 9vw, 3.8rem); }
  .unit span { font-size: .56rem; letter-spacing: .07em; }
  .clock-foot { align-items: flex-start; flex-direction: column; }
  .section-header { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { display: block; }
  .feature, .feature + .feature { padding: 27px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .contact { align-items: flex-start; flex-direction: column; margin-bottom: 44px; }
  .contact a { white-space: normal; word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
