/* ============================================================
   Social by Han — editorial + soft pink
   Base: white · Type: black · Accent: pink · Action: coral (buttons only)
   Fonts: TAN Ashford (headings, logo) · Now (body)
   ============================================================ */

@font-face { font-family: "TAN Ashford"; src: url("fonts/TAN-Ashford.otf") format("opentype"); font-weight: normal; font-display: swap; }
@font-face { font-family: "Now"; src: url("fonts/Now-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Now"; src: url("fonts/Now-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Now"; src: url("fonts/Now-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Now"; src: url("fonts/Now-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --black: #141414;
  --text: #2b2726;
  --muted: #6f6866;
  --line: #f1e6e9;
  --white: #ffffff;
  --pink: #fdbfd5;
  --pink-pale: #fef2f6;
  --blush: #fcd4c8;
  --peach: #faa86f;
  --cream: #fff1e7;
  --coral: #f9753f;
  --coral-dark: #e5602b;
  --maxw: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "Now", "Helvetica Neue", Arial, sans-serif; font-weight: 400;
  font-size: 1.04rem; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--pink); color: var(--black); }

h1, h2, h3, .brand, .serif {
  font-family: "TAN Ashford", Georgia, serif; font-weight: normal; color: var(--black);
  line-height: 1.08; margin: 0 0 0.45em; letter-spacing: 0;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: 112px 0; }
@media (max-width: 760px) { section { padding: 72px 0; } .wrap { padding: 0 20px; } }
.bg-pale { background: var(--pink-pale); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* eyebrow with pink rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--black); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--pink); }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--pink); }

/* buttons + links */
.btn {
  display: inline-block; background: var(--coral); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.3px;
  padding: 15px 32px; border-radius: 50px; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-2px); }
.link {
  font-weight: 700; font-size: 0.95rem; color: var(--black); text-decoration: underline;
  text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--coral); }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { max-width: var(--maxw); margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 1.75rem; margin: 0; text-decoration: none; color: var(--black); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--black); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--pink); }
.nav-links .btn { padding: 11px 24px; border: 0; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--black); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 20px; padding: 28px; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
}

/* ---------- image placeholders (swap for <img>) ---------- */
.ph { background: var(--pink-pale); position: relative; overflow: hidden; border-radius: var(--radius); }
.ph[data-label]::after {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: #c9a7b3; text-align: center; padding: 12px;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.r45 { aspect-ratio: 4/5; } .r11 { aspect-ratio: 1/1; } .r65 { aspect-ratio: 6/5; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 104px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.hero p.lead { margin-top: 8px; }
.industries { margin-top: 40px; font-size: 0.8rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.industries span { color: var(--pink); margin: 0 4px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.post-grid .ph:nth-child(3n+1) { background: var(--pink-pale); }
.post-grid .ph:nth-child(3n+2) { background: #fde3ec; }
.post-grid .ph:nth-child(3n+3) { background: #fff4ee; }
.post-grid .ph:nth-child(5) { background: var(--pink); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 64px 0 72px; } }

/* page hero (inner pages) */
.page-hero { padding: 96px 0 56px; }
.page-hero h1 { max-width: 820px; }
@media (max-width: 760px) { .page-hero { padding: 64px 0 32px; } }

/* ---------- logo marquee ---------- */
.logos { padding: 44px 0 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logos .eyebrow { display: flex; justify-content: center; margin-bottom: 26px; }
.logos .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--pink); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 76px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; height: 64px; }
.logo-item img, .group-logos img, .group-label img { width: auto; max-width: none; filter: grayscale(1) brightness(0); opacity: 0.85; transition: filter .2s, opacity .2s; }
.logo-item:hover img { filter: none; opacity: 1; }
.logo-group { flex-direction: column; height: auto; gap: 8px; }
.group-label { display: flex; justify-content: center; padding-bottom: 8px; border-bottom: 1.5px solid var(--pink); align-self: stretch; }
.group-label img { height: 36px; }
.group-logos { display: flex; align-items: center; gap: 28px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 32px; } .logo-item[aria-hidden="true"] { display: none; } }
/* optically balanced logo sizes */
.logo-item img[src$="babeland.png"], .group-logos img[src$="babeland.png"] { height: 28px; }
.logo-item img[src$="bed-nerdz.png"] { height: 38px; }
.logo-item img[src$="carreg.png"] { height: 29px; }
.logo-item img[src$="eggr.png"] { height: 36px; }
.logo-item img[src$="fast-printed-packaging.png"] { height: 40px; }
.logo-item img[src$="ffs.png"] { height: 48px; }
.group-logos img[src$="love-not-war.png"] { height: 42px; }
.logo-item img[src$="luxury-gallery.png"] { height: 36px; }
.logo-item img[src$="no42-interiors.png"] { height: 58px; }
.logo-item img[src$="the-wellnest.png"] { height: 35px; }
.logo-item img[src$="toy-chats.png"] { height: 52px; }

/* ---------- columns (services / steps) ---------- */
.section-head { margin-bottom: 56px; }
.section-head.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 620px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
@media (max-width: 880px) { .cols-3 { grid-template-columns: 1fr; gap: 36px; } }
.col { border-top: 2px solid var(--pink); padding-top: 26px; }
.col .num { font-family: "TAN Ashford", Georgia, serif; font-size: 1rem; color: var(--muted); display: block; margin-bottom: 14px; }
.col h3 { margin-bottom: 10px; }
.col p { color: var(--muted); margin: 0; }

/* ---------- featured work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr; gap: 40px; } }
.work-card .ph { margin-bottom: 20px; }
.work-card .client { font-size: 0.74rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.work-card h3 { font-size: 1.6rem; margin: 0; }
.tbc { color: #b9adaa; }

/* ---------- split (about / services) ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.split.flip .ph { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip .ph { order: 0; } }
.split p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { font-size: 0.8rem; font-weight: 500; background: var(--pink-pale); color: var(--black); padding: 7px 16px; border-radius: 40px; border: 1px solid var(--pink); }
.service + .service { margin-top: 112px; }
@media (max-width: 760px) { .service + .service { margin-top: 72px; } }

/* ---------- quote ---------- */
.quote-block { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-block blockquote { font-family: "TAN Ashford", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; color: var(--black); margin: 0 0 24px; }
.quote-block blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: var(--pink); margin-bottom: 18px; }
.quote-block cite { font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--pink); text-align: center; padding: 104px 0; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--text); max-width: 520px; margin: 0 auto 32px; }

/* ---------- case studies ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.case + .case { margin-top: 96px; }
.case.flip .ph { order: 2; }
@media (max-width: 880px) { .case { grid-template-columns: 1fr; gap: 28px; } .case.flip .ph { order: 0; } .case + .case { margin-top: 72px; } }
.case p { color: var(--muted); }
.stats { display: flex; gap: 48px; flex-wrap: wrap; margin: 26px 0 8px; }
.stat .n { font-family: "TAN Ashford", Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--black); display: block; margin-bottom: 6px; }
.stat .l { font-size: 0.85rem; color: var(--muted); }
.stat.tbc .n, .stat.tbc .l { color: #c4b9b6; }
.case-note { font-size: 0.85rem; font-style: italic; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--black); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text); background: var(--white);
  border: 0; border-bottom: 1.5px solid #e3d6da; padding: 12px 2px; border-radius: 0; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--pink); box-shadow: 0 2px 0 0 var(--pink); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
.contact-info { background: var(--pink-pale); padding: 44px; border-radius: var(--radius); }
.contact-info ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info li { margin-bottom: 20px; }
.contact-info .label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }
.contact-info a { color: var(--black); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 72px 0 32px; font-size: 0.92rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; gap: 28px; } }
.foot-brand { font-family: "TAN Ashford", Georgia, serif; font-size: 2rem; color: var(--pink); margin-bottom: 10px; }
.site-footer h4 { font-size: 0.72rem; letter-spacing: 2.4px; text-transform: uppercase; color: var(--white); margin: 0 0 16px; }
.site-footer a { display: block; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: var(--pink); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 48px; padding-top: 22px; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.foot-social { display: flex; gap: 14px; align-items: center; }
.foot-social a { display: inline-flex; color: inherit; opacity: .85; transition: opacity .2s, color .2s; }
.foot-social a:hover { opacity: 1; color: var(--peach); }

.case-img { width: 100%; max-width: 440px; justify-self: center; }
.case.flip .case-img { order: 2; }
@media (max-width: 880px) { .case.flip .case-img { order: 0; } }

/* hero reels (videos include their own phone frames) */
.hero-reels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; max-width: 520px; justify-self: center; width: 100%; }
.hero-reels video { width: 100%; height: auto; aspect-ratio: 9/16; display: block; background: var(--white); }
.hero-reels video:nth-child(2) { margin-top: 56px; }
@media (max-width: 880px) { .hero-reels { max-width: 420px; gap: 12px; } .hero-reels video:nth-child(2) { margin-top: 36px; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* keep grid children from forcing overflow on small screens */
.hero .wrap > *, .split > *, .case > *, .contact-grid > *, .cols-3 > *, .work-grid > * { min-width: 0; }
.field select { max-width: 100%; }
.contact-info a { overflow-wrap: anywhere; }
@media (max-width: 880px) { .hero .wrap, .split, .case, .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.bg-pale .ph { background: #fde3ec; }
.col h3 { font-size: 1.6rem; }
.split.flip { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 880px) { .split.flip { grid-template-columns: minmax(0,1fr); } }
.center h2 { margin-left: auto; margin-right: auto; }

/* Wavy header bar */
.site-header { background: var(--cream) url("images/header-waves.jpg") center / cover no-repeat; border-bottom: 0; backdrop-filter: none; }
.nav { padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; background: var(--white); border-radius: 6px; line-height: 0; padding: 15px 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.brand img { height: 36px; width: auto; }
.nav-links { background: var(--white); padding: 10px 10px 10px 28px; border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--pink); }
.nav-toggle { background: var(--white); border-radius: 50%; width: 46px; height: 46px; line-height: 1; }
@media (max-width: 820px) {
  .brand { padding: 10px 14px; }
  .brand img { height: 24px; }
  .nav-links { background: var(--white); border-radius: 0; padding: 28px; box-shadow: none; border-bottom: 1px solid var(--line); }
}
