/* EzyAds – ezyads.se
   Fonts are self-hosted (no requests to Google or any other third party). */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-ext-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f3ede4;
  --paper-deep: #e9e0d3;
  --ink: #231912;
  --ink-soft: #5b4a3d;
  --walnut: #4a3122;
  --cream: #f6efe4;
  --rust: #a24a2a;
  --rule: rgba(35, 25, 18, 0.16);

  /* placeholder tones: oat, clay, sage, stone */
  --t-oat: #d9cbb6;
  --t-clay: #c49a7f;
  --t-sage: #a9ad94;
  --t-stone: #b9b2a8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --col-gap: clamp(24px, 4vw, 64px);
  /* left edge of the section-head title column, so indented blocks line up with it */
  --indent: calc((100% - var(--col-gap)) / 4 + var(--col-gap));
  --max: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */

.site-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding-top: 28px; padding-bottom: 28px;
}
.wordmark {
  font-family: var(--serif);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: 26px; letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark:hover { color: inherit; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .nav a:not(.nav-contact) { display: none; }
}

/* ---------- type ---------- */

.label {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.94;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
}
h1 em, h2 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h3 {
  font-size: 28px; line-height: 1.1;
  font-variation-settings: "opsz" 48, "SOFT" 50;
}
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 34em; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding-top: clamp(32px, 7vw, 96px);
  padding-bottom: clamp(56px, 9vw, 128px);
}
.hero .label { margin-bottom: 28px; display: block; }
.hero h1 { margin-bottom: 36px; }
.hero .lede { margin-bottom: 36px; }
.hero-frame { max-width: 360px; justify-self: end; width: 100%; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero-frame { justify-self: start; max-width: 300px; }
}

.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.button {
  display: inline-block;
  background: var(--ink); color: var(--paper);
  padding: 15px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background 0.2s ease;
}
.button:hover { background: var(--walnut); color: var(--paper); }
.text-link { font-weight: 600; font-size: 16px; }

/* ---------- media frames (placeholders until real demos exist) ---------- */

.frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--walnut);
}
.frame video, .frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.frame.square { aspect-ratio: 3 / 4; border-radius: 12px; }
.frame.landscape { aspect-ratio: 16 / 9; border-radius: 14px; }

.placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  color: var(--cream);
}
.placeholder::before {
  /* soft "window light" so the empty frame reads as a room, not a grey box */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 85% 10%, rgba(255, 240, 220, 0.28), transparent 60%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.22));
}
.placeholder > * { position: relative; }
.placeholder .ph-tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.8;
}
.placeholder .ph-title {
  font-family: var(--serif); font-size: 26px; line-height: 1.05;
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.tone-oat   { background: var(--t-oat);   color: var(--ink); }
.tone-clay  { background: var(--t-clay); }
.tone-sage  { background: var(--t-sage);  color: var(--ink); }
.tone-stone { background: var(--t-stone); color: var(--ink); }

/* ---------- sections ---------- */

.section {
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(72px, 10vw, 140px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 24px var(--col-gap);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .num {
  font-family: var(--serif); font-size: 20px; color: var(--rust);
  font-variation-settings: "opsz" 24;
}
.section-head .intro { margin-top: 24px; max-width: 36em; color: var(--ink-soft); }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
}

/* 01 what we do */
.offer {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  margin-left: var(--indent);
}
.offer h3 { margin-bottom: 14px; }
.offer p { color: var(--ink-soft); }
.offer ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.offer li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }

@media (max-width: 860px) {
  .offer { margin-left: 0; grid-template-columns: 1fr; }
}

/* 02 examples */
.reel {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 32px);
}
.reel figure, .stills figure, .wide { margin: 0; }
.wide { margin-top: clamp(40px, 6vw, 72px); }
.wide .ph-title { font-size: clamp(26px, 3vw, 40px); }
.reel figcaption, .stills figcaption, .wide figcaption {
  margin-top: 12px; font-size: 15px; color: var(--ink-soft);
}
.reel figcaption strong, .wide figcaption strong { color: var(--ink); font-weight: 600; }
.stills {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
}
.disclosure {
  margin-top: 28px; font-size: 14px; color: var(--ink-soft);
  display: flex; gap: 10px; align-items: baseline;
}
.disclosure::before { content: "*"; color: var(--rust); font-weight: 700; }
@media (max-width: 720px) {
  .reel {
    grid-template-columns: repeat(3, 72%);
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter);
    scrollbar-width: none;
  }
  .reel::-webkit-scrollbar { display: none; }
  .reel figure { scroll-snap-align: start; }
  .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 03 process */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 12px var(--col-gap);
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 20px; color: var(--rust);
}
.step-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 8px var(--col-gap); align-items: baseline;
}
.steps h3 { font-size: 26px; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) {
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .step-body { grid-template-columns: 1fr; }
}

/* 04 packages */
.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}
.plan {
  padding: 28px clamp(18px, 2.4vw, 32px) 32px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column;
}
.plan:first-child { padding-left: 0; }
.plan:last-child { border-right: 0; padding-right: 0; }
.plan .label { margin-bottom: 18px; }
.plan h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.plan > p { color: var(--ink-soft); }
.plan ul { list-style: none; margin: 8px 0 0; padding: 0; }
.plan li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 15.5px; }
.plan.featured h3 em { color: var(--rust); }
.plans-note {
  margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 24px var(--col-gap); color: var(--ink-soft); font-size: 15.5px;
}
.plans-note p { max-width: 40em; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .plans-note { grid-template-columns: 1fr; }
}

/* contact */
.contact {
  background: var(--walnut); color: var(--cream);
  border-radius: 22px;
  padding: clamp(36px, 7vw, 96px) clamp(24px, 6vw, 80px);
  margin-bottom: clamp(56px, 8vw, 104px);
}
.contact .label { color: rgba(246, 239, 228, 0.7); display: block; margin-bottom: 28px; }
.contact h2 { font-size: clamp(40px, 6.4vw, 88px); max-width: 12em; margin-bottom: 32px; }
.contact p { max-width: 32em; color: rgba(246, 239, 228, 0.82); }
.mail {
  display: inline-block; margin-top: 16px;
  font-family: var(--serif); font-size: clamp(26px, 4vw, 48px);
  font-variation-settings: "opsz" 72, "SOFT" 100;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
  word-break: break-word;
}
.mail:hover { color: #f0c9a8; }

/* footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 40px; padding-bottom: 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px 40px; font-size: 14px; color: var(--ink-soft);
}
.site-footer .wordmark { font-size: 22px; color: var(--ink); }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; }
.site-footer dt { color: var(--ink); font-weight: 600; }
.site-footer dd { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
@media (max-width: 860px) {
  .site-footer { grid-template-columns: 1fr; }
}

/* Must be filled in before launch – loud on purpose so nothing ships with a gap. */
.todo { background: #ffe14d; color: #000; padding: 0 4px; border-radius: 3px; }

/* ---------- legal page ---------- */

.legal { max-width: 46em; padding-top: clamp(24px, 5vw, 64px); padding-bottom: 96px; }
.legal h1 { font-size: clamp(44px, 6vw, 76px); margin: 18px 0 20px; }
.legal h2 { font-size: clamp(26px, 3vw, 34px); margin: 52px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--rule); }
.legal th { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { border-top: 1px solid var(--rule); padding: 10px 0; }
  .legal td { border: 0; padding: 2px 0; }
  .legal td:first-child { color: var(--ink); font-weight: 600; }
}
