/* Goldmend pages: the game's own world — dark linen, warm stone, gold seams. */
:root {
  color-scheme: dark;
  --ground: #191715; --panel: #221e1b; --panel-2: #2a2521; --line: rgba(241, 235, 224, .12);
  --ink: #f1ebe0; --muted: #c9c0b2; --faint: #8f8679;
  --gold: #dabb78; --gold-hi: #f3dca4; --gold-lo: #a9853f;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden;
  background-image: radial-gradient(90% 60% at 50% -10%, #3a3129 0%, transparent 70%); background-repeat: no-repeat; }
img { display: block; max-width: 100%; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.mono { font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }

.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.studio-link { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.studio-link img { width: 26px; height: 26px; }
.studio-link:hover { color: var(--ink); }
.top nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--gold); }

/* Hero */
.hero { text-align: center; padding: clamp(24px, 5vw, 56px) 0 0; }
.hero .icon { width: clamp(120px, 18vw, 168px); aspect-ratio: 1; border-radius: 23%; margin: 0 auto 28px; box-shadow: 0 0 0 1px rgba(218, 187, 120, .25), 0 24px 60px -20px rgba(218, 187, 120, .35), 0 30px 50px -20px rgba(0, 0, 0, .8); }
.hero h1 { font: 600 clamp(64px, 11vw, 124px)/.9 var(--serif); letter-spacing: -.01em; margin: 0; }
.hero .tagline { font: italic 500 clamp(24px, 3.2vw, 34px)/1.25 var(--serif); color: var(--gold-hi); margin: 14px 0 22px; }
.hero .lead { max-width: 36em; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.status { display: inline-flex; align-items: center; gap: 9px; margin-top: 28px; padding: 9px 18px; border: 1px solid rgba(218, 187, 120, .35); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--gold-hi); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(218, 187, 120, .18); }

/* The seam: a gold crack drawn across the page */
.seam { display: block; width: 100%; height: clamp(60px, 9vw, 110px); margin: clamp(40px, 6vw, 72px) 0 0; overflow: visible; }
.seam path { fill: none; stroke: url(#gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3.2s cubic-bezier(.5, 0, .2, 1) .3s forwards; }
.seam path.glint { stroke: #fff4d2; stroke-width: .8; opacity: .7; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .seam path { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

section { padding: clamp(48px, 7vw, 88px) 0; }
h2 { font: 600 clamp(38px, 5vw, 56px)/1.02 var(--serif); margin: 10px 0 14px; }
.section-lead { color: var(--muted); max-width: 36em; margin: 0 0 clamp(28px, 4vw, 44px); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery li { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 20px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.gallery strong { display: block; font: 600 22px/1.15 var(--serif); margin-top: 12px; }
.gallery span { display: block; color: var(--faint); font-size: 14px; line-height: 1.45; margin-top: 4px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .gallery li { padding: 12px 12px 14px; border-radius: 18px; } .gallery strong { font-size: 19px; } }

/* Steps and facts */
.steps { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.steps div { border-top: 1px solid var(--gold-lo); padding-top: 18px; }
.steps div::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 500 13px/1 var(--mono); color: var(--gold); }
.steps h3 { font: 600 30px/1.1 var(--serif); margin: 12px 0 8px; }
.steps p { color: var(--muted); margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.facts li { border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.facts b { display: block; font: 600 40px/1 var(--serif); color: var(--ink); margin-bottom: 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.turkish { max-width: 760px; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 34px); background: var(--panel); }
.turkish h2 { font-size: clamp(30px, 4vw, 40px); }
.turkish p { color: var(--muted); margin: 0 0 12px; }

.closing { padding-top: 0; }
.links { display: flex; flex-wrap: wrap; gap: 12px; }
.links a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(218, 187, 120, .35); text-decoration: none; font-weight: 700; font-size: 15px; }
.links a:hover { background: rgba(218, 187, 120, .1); }

/* Legal documents */
.doc { padding-top: clamp(16px, 3vw, 32px); }
.doc h1 { font: 600 clamp(44px, 7vw, 68px)/1 var(--serif); margin: 8px 0 10px; }
.doc .switch { display: flex; gap: 8px; margin: 18px 0 8px; }
.doc .switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 700; color: var(--muted); }
.doc .switch a:hover { color: var(--gold); border-color: rgba(218, 187, 120, .35); }
.doc article { padding: 22px 0 8px; }
.doc article + article { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 36px; }
.doc article > .mono:first-child { color: var(--gold); }
.doc h2 { font-size: clamp(32px, 4.4vw, 42px); margin: 0 0 6px; }
.doc h3 { font: 700 17px/1.4 var(--sans); color: var(--gold); margin: 28px 0 6px; }
.doc article h2 + h3, .doc article .mono + h3 { margin-top: 14px; }
.doc p { color: var(--muted); margin: 8px 0; overflow-wrap: anywhere; }

footer.site { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); padding: 26px 0 40px; color: var(--faint); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--gold); }
