/* ============================================
   INDEX.CSS — TD Design · Coming Soon / Holding Page
   50/50 hero · centred logo · oversized grid
   Tokens, fonts & patterns mirror home.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Mono:wght@300;400;500&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ── Tokens (mirrors home.css :root) ───────── */
:root {
  --white:        #ffffff;
  --black:        #111110;
  --accent:       #3ba095;
  --accent-red:   #e63946;
  --muted:        #888885;
  --border:       #ddddd8;
  --grid-color:   rgba(0, 0, 0, 0.07);

  /* Purple panel behind the right column */
  --purple-soft:  #efe2fb;
  --purple:       #e4cdf6;
  --purple-deep:  #d3b3ef;

  --font-displays: 'Playfair Display', Georgia, serif;
  --font-display:  "Schibsted Grotesk", sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-monos:    'DM Mono', monospace;
  --font-mono:     "Space Mono", monospace;

  --grid-size:     180px;   /* much larger squares */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

img { display: block; width: 100%; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

/* ── Grid background (oversized squares) ───── */
.grid-bg {
  position: relative;
  background-color: var(--white);
  background-image:
    radial-gradient(circle, rgba(0, 0, 0, 0.28) 1.5px, transparent 2px),
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size:
    var(--grid-size) var(--grid-size),
    var(--grid-size) var(--grid-size),
    var(--grid-size) var(--grid-size);
  /* dots sit on the line intersections; lines stay at the tile edges */
  background-position:
    calc(var(--grid-size) / 2) calc(var(--grid-size) / 2),
    0 0,
    0 0;
}

/* Corner ticks */
.grid-bg::before,
.grid-bg::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--black);
  border-style: solid;
  opacity: 0.22;
  pointer-events: none;
  z-index: 3;
}
.grid-bg::before { top: 26px; left: 26px;  border-width: 2px 0 0 2px; }
.grid-bg::after  { top: 26px; right: 26px; border-width: 2px 2px 0 0; }

.corner--bl,
.corner--br {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--black);
  border-style: solid;
  opacity: 0.18;
  pointer-events: none;
  z-index: 3;
}
.corner--bl { bottom: 26px; left: 26px;  border-width: 0 0 2px 2px; }
.corner--br { bottom: 26px; right: 26px; border-width: 0 2px 2px 0; }

/* ── Centred logo header ───────────────────── */
.holding-header {
  display: flex;
  justify-content: center;
  padding: 28px 40px;
  position: relative;
  z-index: 4;
}

.holding-logo {
  display: inline-block;
  animation: fadeSlideDown 0.7s var(--ease-out-expo) 0.05s both;
}

.holding-logo-img {
  height: 90px;
  width: auto;
  transition: opacity 0.2s;
}

.holding-logo:hover .holding-logo-img { opacity: 0.7; }

/* ── Hero — 50/50 split ────────────────────── */
.holding-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
    align-items: stretch;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Left column ───────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 4rem);
  max-width: 720px;
  margin-left: auto;
  width: 100%;
}

/* Pill / eyebrow */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #017750;
  background: #d4eee550;
  border-radius: 999px;
  padding: 7px 16px 7px 14px;
  animation: fadeSlideDown 0.7s var(--ease-out-expo) 0.2s both;
}


/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6.5vw, 6.25rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: var(--black);
  animation: slideUp 0.8s var(--ease-out-expo) 0.3s both;
}

.hero-headline em {
  font-family: var(--font-displays);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* Copy */
.hero-copy {
  font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.75;
    color: #000000;
    /* max-width: 46ch; */
    animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.42s both;
    font-weight: 300;
}

/* Row of work-preview images */
.hero-thumbs {
  display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.52s both;
    gap: 10px;
}

.hero-thumb {
}

.hero-thumb img {
 
  object-fit: cover;
  transition: filter 0.4s ease, transform 0.6s var(--ease-out-expo);
}

.hero-thumb:hover {
  transform: translateY(-4px);
}

.hero-thumb:hover img { filter: grayscale(0%); transform: scale(1.05); }

/* CTA button */
.hero-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-size: 18px;
  transition: background 0.25s, transform 0.18s var(--ease-out-expo);
  animation: fadeSlideDown 0.8s var(--ease-out-expo) 0.62s both;
}

.hero-cta:hover { background: #2a2a28; transform: translateY(-2px); }
.hero-cta svg { width: 17px; height: 17px; transition: transform 0.25s; }
.hero-cta:hover svg { transform: translateX(4px); }

/* ── Right column — visual ─────────────────── */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /*padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem);*/
  overflow: hidden;
  animation: slideUp 0.8s var(--ease-out-expo) 0.3s both;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
}

/* Main image */
.hero-visual__main {
  position: absolute;
  inset: 8% 10% 4% 6%;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}

.hero-visual__main img {
  height: 100%;
  object-fit: cover;
}

/* Floating cards / pills — drift on hover */
.float {
  position: absolute;
  z-index: 2;
  transition: transform 0.55s var(--ease-out-expo);
  will-change: transform;
}

/* Small thumbnail card (bottom-left) */
.float--card {
  left: -6%;
  bottom: 6%;
  width: 42%;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--white);
  background: var(--white);
  animation: floatA 7s ease-in-out infinite;
}

.float--card img { aspect-ratio: 4 / 5; object-fit: cover; }

/* "What's new" pill (top-right) */
.float--pill {
  top: 8%;
  right: -4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  animation: floatB 6s ease-in-out infinite;
}

.float--pill svg { width: 13px; height: 13px; }

/* "Explore" accent pill (mid-right) */
.float--accent {
  bottom: 26%;
  right: -8%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  animation: floatA 8s ease-in-out infinite;
}

.float--accent svg { width: 13px; height: 13px; }

/* Hover: the whole cluster shifts for a parallax feel */
.hero-visual:hover .float--card   { transform: translate(-12px, -10px) rotate(-2deg); }
.hero-visual:hover .float--pill   { transform: translate(10px, -8px); }
.hero-visual:hover .float--accent { transform: translate(12px, 6px); }
.hero-visual:hover .hero-visual__main { transform: scale(1.015); transition: transform 0.6s var(--ease-out-expo); }

/* ── Slim footer ───────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  position: relative;
  z-index: 4;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--black);
}

/* ── Animations ────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatA {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@keyframes floatB {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 9px; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  :root { --grid-size: 90px; }
  .hero-left { margin-left: 0; max-width: none; }
}

@media (max-width: 860px) {
  .holding-hero { grid-template-columns: 1fr; }

  .hero-left {
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }

  .hero-right {
    min-height: 90vw;
    padding:0 1rem;
  }

  .hero-right::before { clip-path: none; }

  .hero-visual { max-width: 360px; }
}

@media (max-width: 600px) {
  :root { --grid-size: 100px; }

  .holding-header { padding: 22px; }
  .hero-headline { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .hero-thumbs { gap: 8px; }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .corner--bl, .corner--br { display: none; }
}

/* ── Reduced motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}