/* Evan Nguyen: UGC portfolio. Colours and type follow the Canva design. */
:root {
  --cream: #F6F1E9;
  --sand: #EAE0D2;
  --tan: #DDCBB5;
  --camel: #BFA184;
  --brown: #714D35;
  --ink: #624631;          /* body text on light backgrounds */
  --camel-text: #94724F;   /* the design's camel, darkened enough to read */
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --script: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", Futura, "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1160px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--camel); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: var(--cream); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.center { text-align: center; }
.muted { color: var(--camel-text); }

/* Clearly marked placeholders: things still to fill in */
.placeholder-text { font-style: italic; opacity: .8; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 5; background: var(--brown); color: var(--cream); }
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-name { font: 400 .95rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.topbar-nav { display: flex; gap: clamp(14px, 3vw, 28px); }
.topbar-nav a { font: 400 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.topbar-nav a:hover, .topbar-nav a[aria-current="page"] { border-color: var(--camel); }
@media (max-width: 400px) {
  .topbar-inner { gap: 12px; }
  .topbar-name { font-size: .78rem; letter-spacing: .06em; }
  .topbar-nav { gap: 12px; }
  .topbar-nav a { font-size: .7rem; letter-spacing: .06em; }
}

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px; border: 1px solid var(--camel); border-radius: 999px;
  font: 400 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); background: transparent; transition: background .2s, color .2s;
}
.pill:hover { background: var(--sand); }
.pill--solid { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.pill--solid:hover { background: var(--ink); }
.pill--light { border-color: var(--cream); color: var(--cream); }
.pill--light:hover { background: var(--cream); color: var(--brown); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--cream { background: var(--cream); }
.section--tan { background: var(--tan); }
.section--camel { background: #C9AE92; }
.section--brown { background: var(--brown); color: var(--cream); }
.page-top { padding-top: clamp(40px, 7vw, 80px); }
.section-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.script-title { font: italic 400 clamp(2.25rem, 6vw, 3.4rem)/1.05 var(--script); }
.kicker { margin: 12px 0 0; font: 400 .78rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--camel-text); }
.section--brown .kicker { color: var(--tan); }
.serif-title { font: 400 1.35rem/1.25 var(--serif); margin-bottom: .6em; color: var(--brown); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; gap: 22px; text-align: center;
  grid-template-areas: "text" "photo" "actions";
}
.hero-text { grid-area: text; }
.hero-photo { grid-area: photo; }
.hero-actions { grid-area: actions; }
.eyebrow { margin: 0 0 6px; font: 300 clamp(1.15rem, 2.4vw, 1.6rem)/1.2 var(--sans); color: var(--camel-text); }
.hero-name { font: 400 clamp(2.6rem, 11vw, 5.2rem)/1 var(--serif); letter-spacing: .01em; text-transform: uppercase; color: var(--brown); }
.hero-niche { margin: 14px 0 0; font: 400 .8rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hero-tagline { font: 300 clamp(1.15rem, 2.4vw, 1.55rem)/1.3 var(--sans); color: var(--camel-text); margin-bottom: 22px; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-email { margin: 22px 0 6px; font: 400 1.15rem/1.3 var(--serif); color: var(--camel-text); }
.hero-email a { text-decoration: none; }
.hero-email a:hover { text-decoration: underline; }
.hero-label { margin: 28px 0 0; font: 400 clamp(1.3rem, 3vw, 2.1rem)/1.1 var(--serif); letter-spacing: .04em; text-transform: uppercase; color: var(--brown); }

.socials { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 0; font: 400 .85rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.socials a { text-decoration: none; padding: 10px 0; }
.socials a:hover { text-decoration: underline; }
.socials > span[aria-hidden] { opacity: .6; }
.socials .placeholder-text { text-transform: none; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 420px) { .socials { gap: 10px; font-size: .78rem; } }

/* Arched photo frame (the Canva arch) */
.arch {
  width: min(72vw, 400px); margin: 0 auto; padding: 10px;
  border: 1px solid var(--camel); border-radius: 999px 999px 0 0;
}
.arch img {
  width: 100%; aspect-ratio: 404 / 470; object-fit: cover; object-position: 50% 40%;
  border-radius: 999px 999px 0 0; background: var(--tan);
}
.arch--light { border-color: var(--cream); }
.arch--light img { object-position: 50% 30%; }

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1fr 1.1fr; grid-template-areas: "photo text" "photo actions";
    align-items: center; column-gap: clamp(40px, 6vw, 96px); row-gap: 0;
  }
  .hero-text { align-self: end; }
  .hero-name { font-size: clamp(2.6rem, 5vw, 4.1rem); white-space: nowrap; }
  .hero-actions { align-self: start; margin-top: 18px; }
  .arch { width: 100%; max-width: 420px; }
}

/* ---------- Intro ---------- */
.intro { display: grid; gap: 28px; }
.intro-card { background: var(--cream); padding: clamp(24px, 4vw, 40px); border-radius: 4px; }
.intro-copy { padding: 0 4px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 26px; position: relative; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--brown); }
@media (min-width: 760px) { .intro { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }

/* ---------- Video grid ---------- */
.clip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 3vw, 32px); }
@media (min-width: 760px) { .clip-grid { grid-template-columns: repeat(3, 1fr); max-width: 860px; } }
@media (min-width: 1100px) { .clip-grid { grid-template-columns: repeat(6, 1fr); max-width: var(--max); gap: 24px; } }
.clip { margin: 0; }
.clip-frame {
  position: relative; aspect-ratio: 9 / 16; padding: 6px; border-radius: var(--radius);
  background: var(--sand); box-shadow: inset 0 0 0 1px var(--camel);
}
.clip-frame > * { position: absolute; inset: 6px; border-radius: calc(var(--radius) - 5px); overflow: hidden; }
.clip-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--tan); color: var(--brown); text-align: center; border: 1px dashed var(--camel);
}
.clip-ph-title { font: 400 1.1rem/1.1 var(--serif); text-transform: uppercase; letter-spacing: .06em; }
.clip-ph-note { font: 400 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--camel-text); }
.clip-play { display: block; background: var(--ink); }
.clip-play img, .clip-frame video { width: 100%; height: 100%; object-fit: cover; }
.clip-icon {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: rgba(246, 241, 233, .9); box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.clip-icon::after {
  content: ""; position: absolute; left: 24px; top: 19px;
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--brown);
}
.clip figcaption { margin-top: 12px; text-align: center; line-height: 1.35; }
.clip-title { display: block; font-weight: 400; font-size: .95rem; }
.clip-caption { display: block; font-size: .8rem; color: var(--tan); }

/* ---------- Offers ---------- */
.offers { display: grid; gap: 18px; }
.offer { background: var(--sand); padding: 28px 26px; border-radius: 4px; border-top: 2px solid var(--camel); }
.offer p { margin: 0; }
.offers-note { margin-top: 36px; text-align: center; }
@media (min-width: 640px) { .offers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .offers { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Brands ---------- */
.brands { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 28px); }
.brand {
  width: clamp(84px, 22vw, 124px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--cream); color: var(--brown); font: 400 .8rem/1.2 var(--serif); text-transform: uppercase; letter-spacing: .06em;
}
.brand small { display: block; margin-top: 4px; font: 400 .62rem/1 var(--sans); color: var(--camel-text); }
.brand--ph { background: transparent; color: var(--tan); border: 1px dashed var(--tan); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact-title { margin-bottom: 18px; }
.contact-lede { color: var(--ink); margin-bottom: 26px; }
.contact-email { margin: 22px 0 8px; font: 400 1.15rem/1.3 var(--serif); }
.contact-email a { text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }

/* ---------- About ---------- */
.about { display: grid; gap: 40px; color: #4A3424; }   /* dark brown keeps text readable on camel */
.about .script-title { color: #4A3424; margin-bottom: 22px; }
.about .serif-title { color: #4A3424; margin: 28px 0 8px; }
.about-lede { font-size: 1.15rem; }
.about-facts { padding-left: 1.1em; margin: 0; }
.about-facts li { margin: 4px 0; }
.niches { letter-spacing: .04em; }
.about-cta { margin-top: 30px; }
.about-photo .arch { width: min(68vw, 360px); }
@media (min-width: 860px) {
  .about { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 72px; }
  .about-photo .arch { width: 100%; max-width: 380px; }
}

/* ---------- Blog ---------- */
.post-list { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; }
.post-list li { border-top: 1px solid var(--tan); }
.post-list li:last-child { border-bottom: 1px solid var(--tan); }
.post-list a { display: block; padding: 24px 4px; text-decoration: none; }
.post-list a:hover .post-list-title { text-decoration: underline; }
.post-list time { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--camel-text); }
.post-list-title { display: block; margin: 6px 0; font: 400 1.5rem/1.2 var(--serif); color: var(--brown); }
.post-list-desc { display: block; }

.post { max-width: 680px; }
.post-back { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.post-back a { text-decoration: none; }
.post-title { font: 400 clamp(2rem, 6vw, 3rem)/1.1 var(--serif); color: var(--brown); margin: 18px 0 10px; }
.post-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--camel-text); margin-bottom: 32px; }
.post-cover { border-radius: 4px; margin-bottom: 32px; }
.prose { font-size: 1.1rem; }
.prose h2 { font: italic 400 2rem/1.15 var(--script); margin: 1.6em 0 .5em; color: var(--brown); }
.prose h3 { font: 400 1.3rem/1.25 var(--serif); margin: 1.4em 0 .5em; }
.prose img { border-radius: 4px; margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--camel); font: italic 400 1.35rem/1.45 var(--script); }
.prose code { font-size: .88em; background: var(--sand); padding: 2px 6px; border-radius: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }

.notfound { min-height: 50vh; }

/* ---------- Footer ---------- */
.footer { background: var(--brown); color: var(--tan); text-align: center; padding: 22px var(--gutter); font-size: .8rem; letter-spacing: .04em; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
