/* Trace the World brand: colors and fonts from Tracee's Canva portfolio. */
:root {
  color-scheme: light;
  --cream: #fdfcf8;
  --blush: #f9f0ec;
  --blush-deep: #f3e4de;
  --line: #ead9d3;
  --rose-line: #d4b5b0;
  --mauve: #987b9e;
  --mauve-dark: #7d6283;
  --plum: #5c3a5e;
  --plum-dark: #4a2e4c;
  --dusty-rose: #9b6b78;
  --gold: #c6a96b;
  --gold-soft: #d8c7a3;
  --ink: #3d2b2b;
  --ink-soft: #6b6460;
  --white: #ffffff;
  --radius: 16px;
  --serif: "Playfair Display", Georgia, serif;
  --serif-sc: "Playfair Display SC", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.logo { display: block; text-decoration: none; line-height: 0; }
.logo img { height: 54px; width: auto; }
.logo-text { display: none; font-family: var(--serif); font-size: 1.35rem; color: var(--mauve); line-height: 1.2; }
.logo.no-img .logo-text { display: inline; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 0.9rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--plum); }
.nav .btn, .nav .btn:hover { color: var(--white); }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .logo img { height: 44px; }
}

/* buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--plum); color: var(--white); text-decoration: none;
  border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--plum-dark); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--mauve); }
.btn-ghost:hover { background: var(--plum); border-color: var(--plum); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* type */
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 600; color: var(--gold); margin: 0 0 14px; }
.tagline { font-family: var(--serif-sc); font-size: 1.2rem; letter-spacing: 0.06em; color: var(--plum); margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0; color: var(--plum); }
h1 { font-size: clamp(1.85rem, 4.6vw, 3.4rem); }
h1 em { font-style: italic; color: var(--mauve); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--mauve); }
h3 { font-size: 1.2rem; font-weight: 600; }
.lede { font-size: 1.08rem; color: var(--ink-soft); margin: 20px 0 30px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 638 / 842; object-fit: cover; border-radius: 24px; background: var(--blush); }

/* boarding pass: under the hero buttons, pushed right into the gap before her photo */
.pass {
  position: relative; width: 250px; margin: 28px -80px 0 auto;
  background: var(--white); border-radius: 14px; box-shadow: 0 16px 36px rgba(92, 58, 94, 0.16);
  overflow: hidden; transform: rotate(-3deg);
}
.pass-top { background: var(--plum); color: var(--blush); padding: 9px 14px; display: flex; justify-content: space-between; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; }
.pass-body { padding: 12px 14px 14px; display: grid; gap: 10px; }
.pass-route { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.pass-route small, .pass-grid small { display: block; font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.4; }
.pass-route strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 500; color: var(--plum); line-height: 1.2; }
.pass-plane { color: var(--gold); font-size: 1rem; padding-bottom: 2px; }
.pass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 1.5px dashed var(--rose-line); padding-top: 9px; }
.pass-grid b { font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 28px; }
  /* one column, in this order: headline, line, photo, buttons, boarding pass */
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero .wrap > div:first-child { display: contents; }
  .hero h1 { order: 1; }
  .lede { order: 2; margin: 18px 0 0; }
  .hero-media { order: 3; justify-self: center; max-width: 260px; margin-top: 24px; }
  .hero .actions { order: 4; margin-top: 24px; }
  .pass { order: 5; width: 230px; margin: 28px 0 0 4px; }
}
@media (max-width: 560px) {
  .hero { padding: 28px 0 20px; }
  .hero-media { max-width: 200px; margin-top: 20px; }
  .lede { font-size: 1rem; }
  .hero .actions { margin-top: 20px; }
  .hero .actions .btn { padding: 12px 20px; }
}

/* sections */
section { padding: 84px 0; }
.hero + #about { padding-top: 24px; }
#why { padding-bottom: 48px; }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); margin: 14px 0 0; }
.band { background: var(--blush); }
.plum { background: var(--plum); color: var(--blush); }
.plum h2 { color: var(--white); }
.plum .eyebrow { color: var(--gold-soft); }
.plum p { color: #e6d6e3; }

/* proof strip */
.proof { padding: 30px 0; border-block: 1px solid var(--line); background: var(--white); }
.proof .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.proof strong { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--plum); display: block; line-height: 1.3; }
.proof span { color: var(--ink-soft); font-size: 0.86rem; }
@media (max-width: 640px) {
  .proof { padding: 18px 0; }
  .proof .wrap { grid-template-columns: 1fr; gap: 6px; }
  .proof strong { display: inline; font-size: 1.15rem; margin-right: 6px; }
}

/* brands */
.brands { padding: 56px 0; text-align: center; }
.brands h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 26px; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; list-style: none; padding: 0; margin: 0; }
.brand-row li { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--plum); letter-spacing: 0.01em; }
.brand-sub { margin: 30px 0 12px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.brand-row.small li { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.brand-row.small { gap: 8px 28px; }
.brand-row.small a { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--mauve); text-underline-offset: 5px; }
.brand-row.small a:hover, .brand-row.small a:focus-visible { color: var(--plum); text-decoration-style: solid; }
.brand-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; list-style: none; padding: 0; margin: 0; }
.brand-logos li { display: flex; align-items: center; justify-content: center; }
.brand-logos img { display: block; width: calc(var(--w) * 1px * var(--k, 1)); height: auto; }
.brand-logos .brand-invite { width: 112px; height: 112px; border: 1.5px dashed var(--mauve); border-radius: 50%; }
.brand-invite a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; text-align: center; text-decoration: none; font-family: var(--serif); font-size: 0.86rem; line-height: 1.3; color: var(--plum); }
.brand-invite a:hover, .brand-invite a:focus-visible { background: var(--blush); }
.brand-invite .plus { margin-bottom: 2px; font-family: var(--sans); font-size: 1.2rem; line-height: 1; color: var(--gold); }
@media (max-width: 560px) {
  .brand-logos { --k: 0.78; gap: 24px 28px; }
  .brand-logos .brand-invite { width: 92px; height: 92px; }
  .brand-invite a { font-size: 0.72rem; }
  .brand-invite .plus { font-size: 1rem; }
}
.brand-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 80px; }

/* work */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 0.86rem; font-weight: 500; cursor: pointer; color: var(--ink-soft); }
.tab[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card { text-decoration: none; display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(92, 58, 94, 0.1); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--blush); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 18px rgba(46, 26, 48, 0.28); pointer-events: none; transition: background 0.2s, transform 0.2s; }
.play-badge::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -11px 0 0 -7px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--plum); }
.card:hover .play-badge, .card:focus-visible .play-badge { transform: scale(1.1); background: var(--plum); }
.card:hover .play-badge::before, .card:focus-visible .play-badge::before { border-left-color: var(--white); }
/* A clip previews inside its tile: on hover with a mouse, or while it is on screen on a phone. */
.card-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.card-preview.on { opacity: 1; }
.card.playing .play-badge { top: auto; left: auto; right: 10px; bottom: 10px; margin: 0; width: 34px; height: 34px; }
.card.playing .play-badge::before { margin: -6px 0 0 -4px; border-width: 6px 0 6px 10px; }
.work-more { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; background: rgba(46, 26, 48, 0.88); }
.lightbox video { height: min(78vh, 820px); aspect-ratio: 9 / 16; max-width: 92vw; object-fit: contain; border-radius: var(--radius); background: #000; }
.lightbox-title { margin: 0; color: var(--white); font-family: var(--serif); font-size: 1rem; text-align: center; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--plum); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: var(--white); }
.card-body { padding: 16px 18px 20px; min-width: 0; }
.card-body h3 { font-size: 1.1rem; overflow-wrap: anywhere; }
.card-body p { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.88rem; }
.card-tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; display: block; }
@media (max-width: 560px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; white-space: nowrap; }
  .grid { gap: 12px; }
  .card { border-radius: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: 0.92rem; line-height: 1.25; }
  .card-body p { display: none; }
  .card-tag { font-size: 0.6rem; letter-spacing: 0.1em; margin-bottom: 3px; }
  .play-badge { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .play-badge::before { margin: -8px 0 0 -5px; border-width: 8px 0 8px 13px; }
  .card.playing .play-badge { width: 28px; height: 28px; right: 8px; bottom: 8px; margin: 0; }
  .card.playing .play-badge::before { margin: -5px 0 0 -3px; border-width: 5px 0 5px 8px; }
  .card-placeholder { display: none; }
  #work-grid:not(.expanded) .grid > .card:nth-child(n+7) { display: none; }
  .work-more:not([hidden]) { display: block; margin-top: 20px; text-align: center; }
}
.skeleton { background: linear-gradient(90deg, var(--blush), var(--blush-deep), var(--blush)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); aspect-ratio: 4 / 5; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card-placeholder { border: 1.5px dashed var(--rose-line); background: transparent; }
.card-placeholder:hover { transform: none; box-shadow: none; }
.card-placeholder .card-media { display: flex; align-items: center; justify-content: center; }
.placeholder-mark { font-family: var(--serif-sc); color: var(--mauve); letter-spacing: 0.06em; font-size: 1rem; }
.empty { background: var(--white); border: 1.5px dashed var(--rose-line); border-radius: var(--radius); padding: 40px 28px; text-align: center; color: var(--ink-soft); }
.empty h3 { margin-bottom: 8px; }
.note-error { color: var(--dusty-rose); }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why article { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.why .num { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 10px; }
.why h3 { font-style: italic; color: var(--dusty-rose); }
.why p { color: var(--ink-soft); margin: 10px 0 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why article { padding: 20px; } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.16); border-radius: var(--radius); overflow: hidden; }
.services div { background: var(--plum); padding: 26px; }
.services h3 { color: var(--white); font-size: 1.12rem; }
.services p { margin: 8px 0 0; font-size: 0.9rem; }
.services-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.services-foot .btn { background: var(--gold); color: var(--plum-dark); }
.services-foot .btn:hover { background: var(--gold-soft); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services div { padding: 16px; }
  .services h3 { font-size: 1rem; }
  .services p { font-size: 0.82rem; }
}

/* about */
.about { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 56px; align-items: center; }
.about-photo { width: 100%; height: auto; aspect-ratio: 650 / 725; object-fit: cover; border-radius: var(--radius); background: var(--blush); }
.about p { color: var(--ink-soft); margin: 0 0 16px; font-size: 1rem; }
.about h2 { margin: 0 0 18px; }
.about blockquote { margin: 0 0 24px; font-family: var(--serif); font-style: italic; color: var(--plum); font-size: clamp(1.4rem, 2.8vw, 1.85rem); line-height: 1.35; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 560px) {
  /* a small round portrait beside the heading, then the text runs full width */
  .about { grid-template-columns: 84px 1fr; gap: 0 16px; align-items: center; }
  .about > div { display: contents; }
  .about-photo { grid-area: 1 / 1; width: 84px; height: 84px; max-width: none; aspect-ratio: 1; border-radius: 50%; object-position: center 22%; }
  .about h2 { grid-area: 1 / 2; margin: 0; }
  .about blockquote, .about p, .about .actions { grid-column: 1 / -1; }
  .about blockquote { margin: 18px 0 14px; }
}
@media (max-width: 720px) {
  section { padding: 48px 0; }
  .hero + #about { padding-top: 12px; }
  .brands { padding: 36px 0; }
  #why { padding-bottom: 24px; }
  .section-head { margin-bottom: 24px; }
  .brand-row { gap: 8px 22px; }
  .brand-groups { gap: 0 40px; }
}

/* contact */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 28px; } }
.contact-note { color: var(--ink-soft); margin-top: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.contact-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 30%; background: var(--blush-deep); flex: none; }
.contact-card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }
.contact-card a { color: var(--plum); font-weight: 600; overflow-wrap: anywhere; }
.form-card { background: var(--white); border-radius: 20px; padding: 32px; border: 1px solid var(--line); }
@media (max-width: 560px) { .form-card { padding: 22px; } }
.field { margin-bottom: 18px; }
.field > label, .field legend { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; padding: 0; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.req { color: var(--dusty-rose); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field input[type="tel"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 0.95rem; background: var(--cream); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mauve); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--dusty-rose); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 0.9rem; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--plum); }
.checks.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.checks.pills label { gap: 8px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font-size: 0.88rem; }
.checks.pills label:has(input:checked) { border-color: var(--plum); background: var(--blush); color: var(--plum); font-weight: 600; }
.checks.pills input { width: 16px; height: 16px; margin: 0; }
.err { color: var(--dusty-rose); font-size: 0.82rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.form-error { background: var(--blush); color: var(--dusty-rose); padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.form-error:empty { display: none; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks h3 { margin-bottom: 10px; }
.thanks p { color: var(--ink-soft); white-space: pre-line; }

/* footer */
.site-footer { background: var(--blush); border-top: 1px solid var(--rose-line); color: var(--mauve); padding: 44px 0; font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer a { color: var(--mauve); }
.site-footer a:hover { color: var(--plum); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.social-icons { display: inline-flex; gap: 12px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rose-line); background: var(--white); }
.social-icon:hover { border-color: var(--plum); }

/* project page */
.back { display: inline-block; margin-bottom: 26px; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--plum); }
.project-head { max-width: 720px; margin-bottom: 30px; }
.project-head p { color: var(--ink-soft); font-size: 1.02rem; margin: 14px 0 0; white-space: pre-line; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 22px 0 0; font-size: 0.92rem; }
.details dt { font-weight: 600; }
.details dd { margin: 0; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img, .gallery video { width: 100%; max-height: 80vh; object-fit: contain; background: #1e141f; }
.gallery figcaption { padding: 12px 16px; font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 700px) { .gallery img, .gallery video { max-height: 70vh; } }