:root {
  --gold: #D4AF37;
  --aqua: #40C7C7;
  --cream: #F7F3EE;
  --sand: #D8C8B5;
  --base: #1C1C1E;
  --mid: #242427;
  --card: rgba(255,255,255,.035);
  --line: rgba(212,175,55,.16);
  --muted: rgba(247,243,238,.52);
  --display: 'Cinzel Display', Georgia, serif;
  --body: 'Montserrat', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(212,175,55,.08), transparent 30%),
    radial-gradient(circle at 92% 32%, rgba(64,199,199,.05), transparent 28%),
    var(--base);
  color: var(--cream);
  font-family: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 15px; border-radius: 4px;
  background: var(--gold); color: #111;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:where(a, button):focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
.container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.topbar {
  height: 78px;
  border-bottom: 1px solid rgba(212,175,55,.1);
  background: rgba(28,28,30,.94);
  backdrop-filter: blur(16px);
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand::before {
  content: '';
  width: 112px;
  height: 64px;
  flex: 0 0 auto;
  background: url('yamar-studio-logo.png') center / contain no-repeat;
}
.brand > .brand-mark,
.brand > span { display: none; }
.brand-mark {
  width: 31px; height: 31px; display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,.34); transform: rotate(45deg);
  color: var(--aqua); font-size: 9px;
}
.brand-mark span { transform: rotate(-45deg); }
.brand-name { font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-sub { display: block; margin-top: 1px; color: var(--gold); font-size: 7px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.back-link { color: rgba(247,243,238,.56); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: color .2s ease; }
.back-link:hover { color: var(--gold); }
.case-hero { padding: 104px 0 72px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr); gap: 72px; align-items: end; }
.eyebrow { margin-bottom: 22px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
h1 { max-width: 790px; font-family: var(--display); font-size: clamp(38px, 7vw, 76px); font-weight: 400; letter-spacing: .045em; line-height: 1.02; text-transform: uppercase; }
.hero-summary { max-width: 600px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 300; line-height: 1.85; }
.case-meta { border-top: 1px solid var(--line); }
.meta-row { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.meta-label { color: rgba(247,243,238,.32); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.meta-value { color: rgba(247,243,238,.72); font-size: 10.5px; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px rgba(64,199,199,.8); }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; border: 1px solid rgba(212,175,55,.38); border-radius: 5px;
  color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); background: rgba(212,175,55,.08); }
.button--primary { background: var(--gold); color: #15120d; }
.button--primary:hover { background: #E8C84A; }
.showcase { padding: 0 0 110px; }
.browser { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: #080808; box-shadow: 0 34px 90px rgba(0,0,0,.45); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 15px; background: #191919; border-bottom: 1px solid rgba(255,255,255,.07); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,243,238,.2); }
.browser-dots i:first-child { background: #E7685B; }
.browser-dots i:nth-child(2) { background: #D9B94C; }
.browser-dots i:last-child { background: #54B96A; }
.browser-url { flex: 1; min-width: 0; padding: 5px 12px; border-radius: 4px; background: rgba(255,255,255,.05); color: rgba(247,243,238,.4); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url::before { content: '•'; margin-right: 7px; color: var(--aqua); }
.browser img { width: 100%; aspect-ratio: 1521 / 633; object-fit: cover; object-position: top center; }
.story { padding: 110px 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); }
.story-layout { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: 84px; }
.section-kicker { margin-bottom: 16px; color: var(--aqua); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h2 { font-family: var(--display); font-size: clamp(27px, 4vw, 44px); font-weight: 400; line-height: 1.15; letter-spacing: .045em; text-transform: uppercase; }
.story-copy { display: grid; gap: 22px; }
.story-copy p { color: var(--muted); font-size: 13.5px; font-weight: 300; line-height: 1.95; }
.deliverables { padding: 110px 0; }
.section-head { max-width: 670px; margin-bottom: 48px; }
.deliverable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliverable {
  min-height: 220px; padding: 28px 25px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--card);
}
.deliverable-num { margin-bottom: 32px; color: var(--gold); font-family: var(--display); font-size: 12px; letter-spacing: .14em; }
.deliverable h3 { margin-bottom: 11px; font-family: var(--display); font-size: 13px; font-weight: 400; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.deliverable p { color: var(--muted); font-size: 11.5px; font-weight: 300; line-height: 1.75; }
.principles { padding: 100px 0; background: var(--mid); border-top: 1px solid rgba(64,199,199,.11); border-bottom: 1px solid rgba(64,199,199,.11); }
.principles-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.principle-list { display: grid; gap: 0; border-top: 1px solid rgba(64,199,199,.18); }
.principle { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid rgba(64,199,199,.14); }
.principle span { color: var(--aqua); font-family: var(--display); font-size: 11px; }
.principle strong { display: block; margin-bottom: 5px; font-size: 11px; letter-spacing: .04em; }
.principle p { color: var(--muted); font-size: 11.5px; font-weight: 300; }
.next-project { padding: 118px 0; text-align: center; }
.next-project h2 { max-width: 780px; margin: 0 auto 20px; }
.next-project p { max-width: 600px; margin: 0 auto 34px; color: var(--muted); font-size: 13px; font-weight: 300; }
.next-project .hero-actions { justify-content: center; }
.footer { padding: 27px 0; border-top: 1px solid var(--line); color: rgba(247,243,238,.3); font-size: 9px; letter-spacing: .06em; }
.footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer a:hover { color: var(--cream); }
@media (max-width: 900px) {
  .case-grid, .story-layout, .principles-grid { grid-template-columns: 1fr; gap: 44px; }
  .deliverable-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 40px, 1120px); }
  .topbar { height: 70px; }
  .brand::before { width: 99px; height: 57px; }
  .brand-sub { display: none; }
  .case-hero { padding: 76px 0 54px; }
  .showcase { padding-bottom: 80px; }
  .browser-bar { height: 36px; }
  .story, .deliverables, .principles { padding: 78px 0; }
  .deliverable-grid { grid-template-columns: 1fr; }
  .deliverable { min-height: 0; }
  .next-project { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Light editorial case-study surface. */
:root {
  --base: #F7F3EE;
  --mid: #EEE6DC;
  --card: rgba(255,255,255,.8);
  --line: rgba(28,28,30,.13);
  --muted: rgba(28,28,30,.62);
}
body { color: #1C1C1E; }
.topbar { color: #F7F3EE; }
.back-link { color: rgba(247,243,238,.65); }
.meta-label { color: rgba(28,28,30,.42); }
.meta-value { color: rgba(28,28,30,.72); }
.story { background: rgba(255,255,255,.46); }
.deliverable { box-shadow: 0 14px 36px rgba(58,45,31,.055); }
.footer { color: rgba(28,28,30,.44); }
.footer a:hover { color: #1C1C1E; }
.brand-sub, .back-link, .eyebrow, .meta-label, .section-kicker,
.browser-url, .button, .footer { font-size: 12px; }
.meta-value, .deliverable p, .principle p, .principle strong { font-size: 14px; }
.story-copy p, .next-project p { font-size: 16px; }
