/* RESET — At Work · cinematic dark */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --ink:       #f4f1ea;
  --ink-soft:  #c9c4b8;
  --muted:     #6c6860;
  --line:      rgba(244,241,234,.12);
  --accent:    #d97742;     /* burnt amber */
  --max:       1280px;
  --serif:     'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle film grain across the whole page */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .55;
  mix-blend-mode: overlay;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #0a0a0a; }

/* ============== TOP BAR ============== */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  mix-blend-mode: difference;
}
.bar-l { font-weight: 600; }
.bar-c { text-align: center; color: rgba(244,241,234,.7); letter-spacing: .15em; text-transform: none; font-style: italic; font-family: var(--serif); font-size: 14px; }
.bar-r { text-align: right; color: rgba(244,241,234,.6); }

/* ============== HERO ============== */
.hero {
  position: relative;
  height: 100vh; min-height: 720px;
  width: 100%;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(.4) contrast(1.15);
  transform: scale(1.05);
  animation: slowzoom 18s ease-out forwards;
}
@keyframes slowzoom {
  to { transform: scale(1); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(10,10,10,.7) 100%),
    linear-gradient(180deg, rgba(10,10,10,.4) 0%, transparent 30%, transparent 70%, rgba(10,10,10,.95) 100%);
}

.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 64px;
  max-width: 720px;
  z-index: 2;
}
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.kicker.dim { color: var(--muted); }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 112px);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 32px;
  color: var(--ink);
}
h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero-deck {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 520px;
  font-style: italic;
  margin-bottom: 40px;
}
.hero-deck .dim { color: var(--muted); }

.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244,241,234,.4);
  align-self: flex-start;
  color: var(--ink);
  transition: color .3s ease, border-color .3s ease, gap .3s ease;
}
.hero-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 22px;
}

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--muted);
}
.cue-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--muted), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { opacity: .3; transform: scaleY(.7); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* Reveal */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s ease; }
.fade.in { opacity: 1; transform: none; }
.fade:nth-child(1) { transition-delay: .15s; }
.fade:nth-child(2) { transition-delay: .35s; }
.fade:nth-child(3) { transition-delay: .55s; }
.fade:nth-child(4) { transition-delay: .75s; }

/* ============== WHISPER ============== */
.whisper {
  padding: 180px 32px;
  text-align: center;
  background: var(--bg);
}
.whisper.alt { background: var(--bg-2); }
.whisper-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink-soft);
  max-width: 22ch;
  margin: 0 auto;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.whisper-text em {
  color: var(--accent);
  font-weight: 400;
}
.whisper-text.in { opacity: 1; transform: none; }

/* ============== FRAGMENT ============== */
.fragment {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 64px;
  max-width: var(--max);
  margin: 0 auto;
  opacity: 0; transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.fragment.in { opacity: 1; transform: none; }
.fragment.reverse { grid-template-columns: 1fr 1.4fr; }
.fragment.reverse .frag-img { order: 2; }
.fragment.reverse .frag-side { order: 1; }

.frag-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.frag-img.big { aspect-ratio: 3 / 4; }
.frag-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(.65) contrast(1.1);
  transition: transform 1.6s ease, filter 1.6s ease;
}
.fragment.in .frag-img img { transform: scale(1); }
.frag-img:hover img { filter: grayscale(40%) brightness(.8); }

.frag-side .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  width: 80px;
}
.frag-side p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 38ch;
}
.frag-side p em {
  font-style: italic;
  color: var(--ink);
}

/* ============== TRIPTYCH ============== */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 40px 32px 100px;
  max-width: var(--max);
  margin: 0 auto;
}
.trip-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.trip-cell.tall { aspect-ratio: 3 / 4; transform: translateY(28px); }
.trip-cell.in { opacity: 1; transform: none; }
.trip-cell:nth-child(1) { transition-delay: 0s; }
.trip-cell:nth-child(2) { transition-delay: .2s; }
.trip-cell:nth-child(3) { transition-delay: .4s; }

.trip-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(.55) contrast(1.15);
  transition: filter 1s ease, transform 1.6s ease;
}
.trip-cell:hover img { filter: grayscale(60%) brightness(.7); transform: scale(1.04); }

.trip-label {
  position: absolute;
  bottom: 16px; left: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  pointer-events: none;
}

/* ============== TEN PERCENT ============== */
.ten {
  padding: 160px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ten-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.ten-grid.in { opacity: 1; transform: none; }

.ten-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(140px, 18vw, 240px);
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--accent);
}
.ten-num span { color: var(--ink); font-style: normal; font-weight: 300; font-size: .5em; }

.ten-text .kicker { color: var(--accent); margin-bottom: 22px; }
.ten-deck {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 32ch;
}

/* ============== CONTACT ============== */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 32px;
  overflow: hidden;
}
.contact-img {
  position: absolute; inset: 0; z-index: 0;
}
.contact-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(.25) contrast(1.2) blur(2px);
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(10,10,10,.5), rgba(10,10,10,.95));
  z-index: 1;
}

.contact-card {
  position: relative; z-index: 2;
  max-width: 580px;
  width: 100%;
  background: rgba(15,15,15,.7);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  padding: 56px 48px;
  opacity: 0; transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.contact-card.in { opacity: 1; transform: none; }

.contact-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.contact-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 42ch;
}

.form { display: grid; gap: 16px; }
.form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form input, .form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244,241,234,.25);
  padding: 14px 0;
  font: inherit;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color .3s ease;
  resize: none;
}
.form input::placeholder, .form textarea::placeholder {
  color: rgba(244,241,234,.35);
  font-style: italic;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }

.form button {
  margin-top: 18px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(244,241,234,.3);
  padding: 18px 28px;
  font: inherit;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, gap .3s ease;
}
.form button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
  gap: 22px;
}
.thanks {
  margin-top: 12px;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}

/* ============== FOOTER ============== */
.foot {
  border-top: 1px solid var(--line);
  padding: 32px;
}
.foot-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-grid span:first-child { color: var(--ink); font-weight: 600; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .bar { padding: 14px 20px; }
  .bar-c { display: none; }
  .hero-content { padding: 0 28px; }
  .fragment, .fragment.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px 28px;
  }
  .fragment.reverse .frag-img { order: 0; }
  .fragment.reverse .frag-side { order: 1; }
  .triptych { grid-template-columns: 1fr; gap: 4px; padding: 28px 28px 60px; }
  .ten-grid { grid-template-columns: 1fr; gap: 28px; }
  .whisper { padding: 100px 28px; }
  .contact-card { padding: 40px 28px; }
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  h1 { font-size: clamp(48px, 12vw, 68px); }
  .ten-num { font-size: clamp(110px, 30vw, 180px); }
}
