/* samsafilm.com — direction "A · Kapı" (Uğur's pick, 3 Dec 2026).
   One thing on the page: the slit and the light it drops on the floor. The sentence stands on that
   floor, in the light, the way the word "Samsa" does in the lockup. Single dark look, like the app.
   Colours are the brand's (marka/OKU-BENI.md); amber is the slit's alone. */

@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/fonts/Jost_500Medium.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fonts/SchibstedGrotesk_400Regular.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/fonts/SchibstedGrotesk_500Medium.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ground: #0D0C0B; --line: #2C2A27; --line-strong: #4A4640; --ink: #E6E2DA; --quiet: #9C978E;
  --head: "Jost", "Avenir Next", "Century Gothic", "Segoe UI", sans-serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  /* The slit's drawing height. Everything in the opening is measured from it:
     300 px on a 360 px phone, 540 px from about 1030 px up. */
  --H: clamp(300px, 36vw + 170px, 540px);
  --sentence: calc(var(--H) * 0.158 - 17.5px);   /* 30 px at H 300, 68 px at H 540 */
  --gutter: clamp(20px, 5.6vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--text); }
p, h1 { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.page { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

/* Top: the name, and the language switch */
.top { display: flex; justify-content: space-between; align-items: center; padding-block: clamp(18px, 2.4vw, 28px); }
.name { line-height: 0; }
.name svg { display: block; height: clamp(20px, 1.4vw + 15px, 24px); width: auto; }
.lang { display: flex; gap: 2px; font: 500 14px/1 var(--text); }
.lang a, .lang span { padding: 10px 9px; }
.lang a { color: var(--quiet); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang span { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* The opening. The drawing's box is 110 × 183 units (slit top 14, floor 124, light to 178), so the
   floor lies 59/183 of H above the drawing's foot; the sentence's last baseline rests on it and its
   left edge starts where the lockup's word starts, over the first of the light. */
.hero { display: flex; align-items: flex-end; padding-top: clamp(0px, 14px - 1.2vw, 12px); }
.hero svg { flex: none; height: var(--H); width: calc(var(--H) * 110 / 183); margin-left: clamp(-28px, 2.9vw - 38px, 0px); }
.hero h1 { position: relative; min-width: 0; font: 500 var(--sentence)/1.1 var(--head); letter-spacing: -0.005em; text-wrap: balance;
  max-width: 13em; margin-left: calc(var(--H) * -0.28); margin-bottom: calc(var(--H) * 59 / 183 - var(--sentence) * 0.27); }

/* The few plain sentences, in one reading column that starts under the sentence on a wide screen */
.body { display: grid; gap: 18px; max-width: 36em; margin-top: 8px; }
.soon { font: 500 21px/1.3 var(--head); margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  .body { margin-left: calc(var(--H) * 0.321 + min(0px, 2.9vw - 38px)); font-size: clamp(18px, 0.6vw + 13px, 20px); gap: 22px; }
  .soon { font-size: 26px; margin-top: 28px; }
}

/* Foot: how to write to us, where else Samsa is, and, small and quiet, the two documents */
.foot { border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 96px); padding-block: 28px 48px; display: grid; gap: 14px; font-size: 16px; }
.foot .write { color: var(--quiet); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.foot .write a { font-weight: 500; padding-block: 8px; }
.foot .address { user-select: all; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot nav a { padding-block: 8px; }
.foot .docs { margin-top: 10px; font-size: 13.5px; }
.foot .docs a { color: var(--quiet); }
.foot .docs a:hover { color: var(--ink); }

/* One quiet moment: the light arrives after the slit. Nothing moves for a visitor who asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero .light, .hero .halo { animation: arrive 1.8s ease-out both; }
  @keyframes arrive { from { opacity: 0; } to { opacity: 1; } }
}
