/* ================================================================
   VAYRO — AI Creative Studio
   Light-luxury editorial: ivory ground, warm ink, champagne gold.
   Display: Italiana · Body: Hanken Grotesk
   ================================================================ */

:root {
  --ivory: #f7f4ee;
  --ivory-2: #efeae0;
  --parchment: #e9e2d3;
  --ink: #17130e;
  --ink-2: #221c14;
  --gold: #a98643;
  --gold-2: #c9a55f;
  --taupe: #756c5b;
  --taupe-light: #a79e8c;
  --line: rgba(23, 19, 14, 0.14);
  --line-gold: rgba(169, 134, 67, 0.45);
  --max: 1120px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --display: "Italiana", serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--gold); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- shared bits ---------- */

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.h-display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.02;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.2rem;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: -1;
}

.btn { z-index: 0; }

.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--ivory); border-color: var(--gold); }

.link-plain {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 0.35rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.link-plain:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.wordmark .mark { height: 1.7rem; width: auto; }

.mark-light { display: none; }

/* nav over the dark hero (index only, before scroll) */
body.dark-hero .nav:not(.is-scrolled) .wordmark { color: var(--ivory); }

body.dark-hero .nav:not(.is-scrolled) .mark-dark { display: none; }

body.dark-hero .nav:not(.is-scrolled) .mark-light { display: block; }

body.dark-hero .nav:not(.is-scrolled) .nav-links a { color: var(--taupe-light); }

body.dark-hero .nav:not(.is-scrolled) .nav-links a:hover { color: var(--gold-2); }

body.dark-hero .nav:not(.is-scrolled) .btn {
  background: transparent;
  border-color: rgba(247, 244, 238, 0.4);
  color: var(--ivory);
}

.nav-links {
  display: none;
  gap: 2.4rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--taupe);
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--gold); }

.nav .btn { padding: 0.7rem 1.4rem; font-size: 0.7rem; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 1.25rem; letter-spacing: 0.32em; }
  .nav .btn { padding: 0.6rem 1rem; font-size: 0.64rem; letter-spacing: 0.16em; }
}

/* ---------- hero (dark, centered) ---------- */

.hero {
  background:
    radial-gradient(90% 65% at 50% 0%, #2c2417 0%, transparent 65%),
    var(--ink);
  color: var(--ivory);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe-light);
  border: 1px solid rgba(201, 165, 95, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  margin-bottom: 2.2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 8px rgba(201, 165, 95, 0.8);
}

.hero-title {
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(2.9rem, 8.5vw, 6rem);
  color: var(--ivory);
  max-width: 14ch;
}

.hero-title em {
  font-style: normal;
  color: var(--gold-2);
}

.hero-sub {
  margin-top: 2.4rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--taupe);
}

.hero .hero-sub {
  margin-top: 1.6rem;
  color: var(--taupe-light);
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero .hero-cta {
  margin-top: 2.4rem;
  gap: 1.6rem;
  justify-content: center;
}

.btn-pill {
  display: inline-block;
  background: var(--gold-2);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.7rem;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(201, 165, 95, 0.28);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-pill:hover, .btn-pill:focus-visible {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(201, 165, 95, 0.36);
}

.hero-trust {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--taupe-light);
}

.hero-fan {
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-fan img {
  width: clamp(7.5rem, 22vw, 15rem);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(201, 165, 95, 0.4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.hero-fan img:first-child { transform: rotate(-7deg) translate(16%, 7%); }

.hero-fan img:last-child { transform: rotate(7deg) translate(-16%, 7%); }

.hero-fan .fan-center {
  width: clamp(8.6rem, 25vw, 17rem);
  position: relative;
  z-index: 2;
}

.hero-note {
  margin-top: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.hero-note::before {
  content: "";
  width: 4rem;
  height: 1px;
  background: var(--line-gold);
}

/* hero entrance */
.hero-badge, .hero-title, .hero-sub, .hero-cta, .hero-note, .hero-fan {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title { animation-delay: 0.08s; }
.hero-sub { animation-delay: 0.18s; }
.hero-cta { animation-delay: 0.3s; }
.hero-note { animation-delay: 0.44s; }
.hero-fan { animation-delay: 0.42s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- section scaffolding ---------- */

.section { padding-block: clamp(5rem, 11vw, 8.5rem); }

.section-head { max-width: 40rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.section-head .eyebrow { display: block; margin-bottom: 1.4rem; }

.section-head h2 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.section-head .lede {
  margin-top: 1.4rem;
  color: var(--taupe);
  max-width: 32rem;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- showcase (dark band) ---------- */

.showcase {
  background: var(--ink);
  color: var(--ivory);
}

.showcase .section-head h2 { color: var(--ivory); }
.showcase .lede { color: var(--taupe-light); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 2vw, 1.5rem);
}

.work {
  position: relative;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  overflow: hidden;
  background: var(--ink-2);
}

.work-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 2.6rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(14, 11, 7, 0.78), rgba(14, 11, 7, 0.32) 55%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ddd6c8;
}

.work-meta .tag { color: var(--gold-2); }

@media (max-width: 640px) {
  .work-meta {
    padding: 1.4rem 0.55rem 0.55rem;
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
}

.work-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.work:hover .work-media { transform: scale(1.045); }

.showcase-foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.showcase-foot .note { font-size: 0.9rem; color: var(--taupe-light); max-width: 26rem; }

.showcase .link-plain { color: var(--ivory); }
.showcase .link-plain:hover { color: var(--gold-2); }

/* ---------- why (statement) ---------- */

.why-pull {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  letter-spacing: 0.03em;
  line-height: 1.04;
  text-transform: uppercase;
  max-width: 16ch;
}

.why-pull em {
  font-style: normal;
  color: var(--gold);
}

.why-cols {
  margin-top: clamp(2.8rem, 6vw, 4rem);
  display: grid;
  gap: 2rem;
  max-width: 60rem;
}

@media (min-width: 860px) {
  .why-cols { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
}

.why-cols p { color: var(--taupe); font-size: 0.98rem; }

.why-cols strong { color: var(--ink); font-weight: 600; }

/* ---------- services ---------- */

.services { background: var(--ivory-2); }

.service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem 3rem;
  padding-block: clamp(2rem, 4.5vw, 3rem);
  border-top: 1px solid var(--line);
  position: relative;
}

.service:last-of-type { border-bottom: 1px solid var(--line); }

.service::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service:hover::after { width: 100%; }

.service-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.service h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.service p { color: var(--taupe); max-width: 30rem; }

@media (min-width: 860px) {
  .service { grid-template-columns: 8rem 1fr 1.1fr; align-items: baseline; }
}

/* ---------- process ---------- */

.steps {
  display: grid;
  gap: 2.6rem;
  counter-reset: step;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.step { position: relative; padding-top: 1.6rem; }

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6rem;
  height: 1px;
  background: var(--gold);
}

.step-num {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.step p { margin-top: 0.7rem; color: var(--taupe); font-size: 0.98rem; }

/* ---------- form ---------- */

.book { background: var(--parchment); position: relative; }

.book-panel {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .book-panel { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}

.book .section-head { margin-bottom: 0; }

.book-side-note {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-gold);
  font-size: 0.9rem;
  color: var(--taupe);
  max-width: 24rem;
}

.field { position: relative; margin-bottom: 2rem; }

.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.55rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
  border-radius: 0;
  transition: border-color 0.3s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a98643' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  cursor: pointer;
}

.field textarea { resize: vertical; min-height: 6.5rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--taupe-light); font-weight: 350; }

.field-row { display: grid; gap: 0 2rem; }

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 0.5rem;
}

.form-micro { font-size: 0.8rem; color: var(--taupe); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--taupe-light);
  padding-block: 3.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer .wordmark { color: var(--ivory); font-size: 1.2rem; }

.footer-tag { font-size: 0.8rem; letter-spacing: 0.08em; }

.footer-links { display: flex; gap: 2rem; list-style: none; }

.footer-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--taupe-light);
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--gold-2); }

/* ---------- thanks page ---------- */

.thanks-main {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 8rem 4rem;
  position: relative;
}

.thanks-main h1 {
  font-size: clamp(3.6rem, 12vw, 8rem);
}

.thanks-main .hero-sub { max-width: 30rem; }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badge, .hero-title, .hero-sub, .hero-cta, .hero-note, .hero-fan { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn::after, .service::after { transition: none; }
  .work-media { transition: none; }
  .work:hover .work-media { transform: none; }
}
