/* nicoleuribedesign.com — v0.1
   Palette supplied by Nicole ("powdery pinks, fuchsia and jade"). */
:root {
  --blush: #eddcd9;
  --paper: #f2ebe9;
  --pink: #de5499;
  --jade: #264143;
  --amber: #e99f4c;
  --jade-soft: rgba(38, 65, 67, 0.72);
  --line: rgba(38, 65, 67, 0.22);
  --pad: clamp(20px, 4vw, 56px);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--jade);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--jade); color: var(--paper); padding: 8px 12px; z-index: 100; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--pad);
  background: rgba(242, 235, 233, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 600; letter-spacing: -0.03em; text-decoration: none; font-size: 20px; white-space: nowrap; }
.brand span { color: var(--pink); }
.brand .short { display: none; color: inherit; }
.brand .full { color: inherit; }
.nav ul a { white-space: nowrap; }
.nav ul { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav ul a:hover { color: var(--pink); }
.lang {
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--jade); background: transparent;
  border: 1.5px solid var(--jade); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.lang:hover { background: var(--jade); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 8vw, 110px) var(--pad) clamp(48px, 7vw, 96px); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jade-soft); }
.hero { overflow-x: clip; }
.hero h1 { font-size: clamp(44px, 9.5vw, 190px); margin-top: 18px; }
.typed-line { display: block; color: var(--pink); min-height: 1em; white-space: nowrap; }
.caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.04em; background: var(--amber); vertical-align: baseline; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-foot {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 5vw, 64px); max-width: 880px;
}
.hero-foot img { width: clamp(96px, 12vw, 150px); aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 16px 16px; }
.hero-foot p { font-size: clamp(18px, 1.7vw, 23px); color: var(--jade-soft); }

/* ---------- Buttons / pills ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--jade);
  background: var(--jade); color: var(--paper); transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--jade); border-color: var(--pink); }
.btn.ghost:hover { background: var(--pink); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills li { font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--jade); color: var(--paper); }
.pills li.outline { background: transparent; color: var(--jade); border: 1.5px solid var(--jade); padding: 4.5px 12px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--jade); color: var(--paper); padding: clamp(14px, 2.2vw, 28px) 0; }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee span { font-size: clamp(34px, 6.5vw, 96px); font-weight: 600; letter-spacing: -0.04em; text-transform: uppercase; white-space: nowrap; padding-right: 0.35em; }
.marquee i { display: inline-block; width: clamp(14px, 2.4vw, 34px); aspect-ratio: 1; border-radius: 50%; background: var(--amber); margin-right: clamp(14px, 2.4vw, 34px); vertical-align: 0.12em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Work list ---------- */
.project { display: block; text-decoration: none; border-bottom: 1px solid var(--line); }
.project-media { overflow: hidden; background: var(--blush); aspect-ratio: 16 / 8; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.project:hover .project-media img { transform: scale(1.03); }
.project-info {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 64px);
  padding: clamp(24px, 3.5vw, 48px) var(--pad) clamp(36px, 5vw, 72px);
}
.project-info h3 { font-size: clamp(38px, 6.4vw, 104px); transition: color .2s; }
.project:hover h3 { color: var(--pink); }
.project-info p { color: var(--jade-soft); margin-bottom: 18px; max-width: 46ch; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 120px) var(--pad); }
.section.blush { background: var(--blush); }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 80px); }
.label { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; }
.label::after { content: " \2198"; color: var(--pink); }
.services { list-style: none; margin: 0; padding: 0; }
.services li { padding: 26px 0; border-top: 1px solid var(--line); }
.services li:first-child { border-top: 0; padding-top: 0; }
.services h3 { font-size: clamp(32px, 4.6vw, 68px); margin-bottom: 10px; }
.services p { color: var(--jade-soft); max-width: 52ch; }

.about-grid { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.about-grid > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 20px 20px; }
.about-copy p { font-size: clamp(19px, 1.9vw, 26px); letter-spacing: -0.01em; margin-bottom: 20px; max-width: 34em; }
.cv { list-style: none; margin: 36px 0 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.cv .when { color: var(--jade-soft); font-variant-numeric: tabular-nums; }
.cv strong { font-weight: 600; }

/* ---------- Contact / footer ---------- */
.contact { background: var(--jade); color: var(--paper); padding: clamp(64px, 10vw, 150px) var(--pad) 32px; }
.contact .eyebrow { color: var(--amber); }
.contact h2 { font-size: clamp(60px, 15vw, 250px); margin: 12px 0 28px; }
.contact h2 em { font-style: normal; color: var(--pink); }
.contact .mail { font-size: clamp(20px, 3.2vw, 46px); font-weight: 600; letter-spacing: -0.03em; text-decoration-color: var(--pink); text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.contact .mail:hover { color: var(--pink); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 8vw, 110px); padding-top: 20px; border-top: 1px solid rgba(242, 235, 233, 0.25); font-size: 14px; }
.foot ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--pink); }

/* ---------- Case study page ---------- */
.case-head { padding: clamp(36px, 6vw, 90px) var(--pad) clamp(28px, 4vw, 56px); }
.back { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.back:hover { color: var(--pink); }
.case-head h1 { font-size: clamp(46px, 9.5vw, 170px); margin: 22px 0 clamp(28px, 4vw, 56px); }
.case-meta { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); padding-top: 28px; }
.case-meta dl { display: grid; grid-template-columns: 7em 1fr; gap: 10px 16px; margin: 0; font-size: 16px; }
.case-meta dt { color: var(--jade-soft); }
.case-meta dd { margin: 0; font-weight: 600; }
.case-meta p { font-size: clamp(19px, 1.8vw, 24px); margin-bottom: 18px; max-width: 34em; }
.case-meta .credits { font-size: 15px; color: var(--jade-soft); }
.case-body { background: var(--blush); padding: clamp(20px, 4vw, 56px) var(--pad); display: grid; gap: clamp(16px, 2.5vw, 32px); justify-items: center; }
.case-body img { width: 100%; max-width: 1400px; border-radius: 6px; background: var(--paper); }
.case-body .video { width: 100%; max-width: 1400px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--jade); }
.case-body iframe { width: 100%; height: 100%; border: 0; display: block; }
.next { display: block; text-decoration: none; padding: clamp(48px, 7vw, 100px) var(--pad); border-top: 1px solid var(--line); }
.next h2 { font-size: clamp(40px, 8vw, 130px); margin-top: 10px; }
.next:hover h2 { color: var(--pink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; gap: 8px; }
  .nav ul { gap: 10px; }
  .nav ul a { font-size: 11px; letter-spacing: 0.03em; }
  .brand { font-size: 16px; }
  .lang { font-size: 11px; padding: 5px 10px; }
  .hero h1 { font-size: clamp(40px, 13vw, 90px); }
  .typed-line { white-space: normal; min-height: 1.95em; }
  .project-media { aspect-ratio: 4 / 3; }
  .project-info, .split, .about-grid, .case-meta { grid-template-columns: 1fr; }
  .about-grid > img { max-width: 260px; }
  .cv li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 430px) {
  .brand .full { display: none; }
  .brand .short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .project-media img, .btn { transition: none; }
}
