/* ============ Base ============ */
:root {
  --paper: #f5f2ea;
  --paper-2: #ece7da;
  --ink: #14110f;
  --ink-soft: #55504a;
  --line: rgba(20, 17, 15, 0.16);
  --accent: #d9502a;
  --radius: 16px;
  --maxw: 1220px;
  --pad: clamp(18px, 5vw, 56px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 400; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow--light { color: rgba(245, 242, 234, 0.62); }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f9e5f;
  box-shadow: 0 0 0 3px rgba(47, 158, 95, 0.18);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 234, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: "Anton", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex: none;
}

.brand-name { font-size: 15px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 14px;
}

.nav a { color: var(--ink-soft); transition: color 0.2s ease; }
.nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--paper) !important;
  background: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ============ Hero ============ */
.hero { padding: clamp(44px, 7vw, 86px) 0 clamp(34px, 5vw, 62px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.hero-title {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(52px, 9.6vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}

.hero-line { display: block; }

.hero-line--sm {
  font-size: 0.5em;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin-top: 0.16em;
}

.hero-line em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  max-width: 44ch;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.5vw, 17.5px);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.hero-visual { position: relative; }

.showcase {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 60px -40px rgba(20, 17, 15, 0.85);
  isolation: isolate;
}

.showcase-item {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 4s ease-out;
  pointer-events: none;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.showcase-item:first-child { opacity: 1; transform: none; pointer-events: auto; }
.js .showcase-item:first-child:not(.is-active) { opacity: 0; pointer-events: none; }
.showcase-item.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }

.showcase-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.showcase-bar.is-running { animation: showcase-bar 3.5s linear forwards; }

@keyframes showcase-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 2px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.showcase-count { color: var(--ink); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .showcase-item { transition: opacity 0.2s linear; transform: none; }
  .showcase-item.is-active { transform: none; }
  .showcase-bar { display: none; }
}

/* ============ Marquee ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}

.marquee-track span {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(15px, 2vw, 21px);
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-right: 8px;
}

@keyframes slide { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(56px, 8vw, 118px) 0; }
.section--tint { background: var(--paper-2); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vw, 52px);
}

.section-title {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.section-note {
  max-width: 38ch;
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ============ Work ============ */

.case {
  display: block;
  padding-bottom: clamp(40px, 6vw, 76px);
  margin-bottom: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}
.case:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }

.case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.case-kicker {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.case-kicker span { color: var(--accent); margin: 0 5px; }

.case-title {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(30px, 5.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.case-summary {
  max-width: 40ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* image slots: empty figures show a label, real <img> fills them */
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.shot img { width: 100%; height: auto; display: block; }

.shot:empty {
  display: grid;
  place-items: center;
  background: var(--paper-2);
  border: 1px dashed rgba(20, 17, 15, 0.22);
}
.shot:empty::after {
  content: attr(data-label);
  padding: 18px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(20, 17, 15, 0.44);
}

.case-hero { margin-bottom: clamp(16px, 2.2vw, 24px); }
.case-hero .shot:empty { aspect-ratio: 16 / 9; }
.case-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 45%;
}

.case-grid { columns: 2; column-gap: clamp(16px, 2.2vw, 24px); }
.case-grid .shot { margin-bottom: clamp(16px, 2.2vw, 24px); break-inside: avoid; }
.case-grid .shot:empty { aspect-ratio: 4 / 5; }
.case-grid .shot:empty:nth-child(3n+2) { aspect-ratio: 1 / 1; }
.case-grid .shot:empty:nth-child(3n) { aspect-ratio: 3 / 4; }

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 44px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.case-meta li { display: flex; flex-wrap: wrap; gap: 10px; }
.case-meta span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 3px;
}

/* reel block */
.case--reel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 4vw, 60px);
  align-items: center;
}

.reel-thumb {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #221c28;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel-thumb:hover { transform: translateY(-4px); }
.reel-thumb .shot { border-radius: 0; }
.reel-thumb .shot:empty {
  aspect-ratio: 4 / 5;
  background: #221c28;
  border-color: rgba(245, 242, 234, 0.18);
}
.reel-thumb .shot:empty::after { color: rgba(245, 242, 234, 0.5); }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.94);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.reel-thumb:hover .play { background: var(--accent); transform: translate(-50%, -50%) scale(1.06); }
.play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid var(--ink);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 5px;
}

.reel-duration {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(20, 17, 15, 0.72);
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.reel-copy .case-title { margin-bottom: 14px; }
.reel-copy > p {
  margin: 0 0 24px;
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.text-link {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 900px) {
  .case--reel { grid-template-columns: 1fr; }
  .reel-media { max-width: 360px; }
}

/* ============ Social post grid ============ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.post-grid .shot { border-radius: 12px; }
.post-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

@media (max-width: 780px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ Services ============ */
.service-list { border-top: 1px solid var(--line); }

.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 240px);
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  padding-top: 7px;
}

.service-body h3 {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.1;
  margin-bottom: 7px;
}

.service-body p {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  color: var(--ink-soft);
}

.service-tags {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: right;
  padding-top: 8px;
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.portrait-frame { margin: 0; }

.portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-caption {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.about-copy .section-title { margin-bottom: 20px; max-width: 16ch; }

.about-copy p {
  margin: 0 0 16px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 16px;
}

.tools { margin-top: 30px; }

.tools-label {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chips li {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.35);
}

/* ============ Contact ============ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 9vw, 130px) 0 0;
}

.contact-title {
  font-family: "Anton", Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(42px, 8.4vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}

.contact-sub {
  max-width: 46ch;
  margin: 0 0 34px;
  color: rgba(245, 242, 234, 0.68);
  font-size: 16px;
}

.contact-mail {
  display: inline-block;
  font-size: clamp(19px, 3.2vw, 38px);
  font-weight: 300;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(245, 242, 234, 0.35);
  padding-bottom: 4px;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.contact-mail:hover { color: #ff8b63; border-color: #ff8b63; }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 0;
}

.socials a {
  display: inline-block;
  padding: 9px 17px;
  border: 1px solid rgba(245, 242, 234, 0.24);
  border-radius: 999px;
  font-size: 13.5px;
  color: rgba(245, 242, 234, 0.85);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.socials a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.site-footer {
  margin-top: clamp(48px, 7vw, 90px);
  padding: 22px 0 26px;
  border-top: 1px solid rgba(245, 242, 234, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(245, 242, 234, 0.6);
  letter-spacing: 0.02em;
}
.site-footer a:hover { color: var(--paper); }

/* ============ Reveal ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { max-width: 380px; }
  .service { grid-template-columns: 44px minmax(0, 1fr); }
  .service-tags { grid-column: 2; text-align: left; padding-top: 12px; }
}

@media (max-width: 620px) {
  .brand-name { display: none; }
  .nav { gap: 14px; font-size: 13.5px; }
  .nav a[href="#about"] { display: none; }
  .hero { padding-top: 34px; }
  .hero-sub { font-size: 15.5px; }
  .section-head { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .reel-thumb:hover { transform: none; }
  .reel-thumb:hover .play { transform: translate(-50%, -50%); }
  .btn:hover, .nav-cta:hover { transform: none; }
}
