/* Bridal Villa Salon preview: Heritage Atelier (Tez Labs proposal).
   Colours, type sizes, spacing and radii from the kit's tokens.json. Gold is kept to rules, outlines and large
   decorative letters: it is never used for small text on ivory (contrast). */
:root {
  --ivory: #FAF6F0;
  --paper: #FFFFFF;
  --blush: #E9D8D2;
  --oxblood: #672832;
  --oxblood-d: #4E1D27;
  --gold: #B98C57;
  --gold-l: #E2C49A;      /* gold for text on oxblood only */
  --ink: #30272B;
  --muted: #5B4C50;       /* secondary text, 7:1 on ivory */
  --field: #8C7B7F;       /* form borders, 3:1+ on white */
  --error: #A3262A;
  --line: rgba(185, 140, 87, .45);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', 'Avenir', Arial, sans-serif;
  --shadow: 0 18px 50px rgba(48, 39, 43, .10);
  --r-card: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 em, h2 em { color: var(--oxblood); font-style: italic; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main:focus { outline: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 50; background: var(--paper); color: var(--oxblood); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- labels ---------- */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--oxblood); }
.eyebrow--rule::before, .eyebrow--center::after { content: ''; display: inline-block; width: 36px; height: 1.5px; background: var(--gold); vertical-align: middle; margin-right: 14px; }
.eyebrow--center::after { margin: 0 0 0 14px; }
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--gold-l); }
.eyebrow--light::before, .eyebrow--light::after { background: var(--gold-l); }

.tag { display: inline-block; vertical-align: 2px; padding: 2px 9px; border-radius: 999px; background: var(--blush); color: var(--oxblood); font: 700 12px/1.5 var(--sans); letter-spacing: .08em; }
.note { font-size: 14px; color: var(--muted); }
.ai-cap { font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--oxblood); color: var(--ivory); border-color: var(--oxblood); }
.btn--solid:hover { background: var(--oxblood-d); border-color: var(--oxblood-d); }
.btn--line { background: transparent; color: var(--oxblood); border-color: var(--oxblood); }
.btn--line:hover { background: var(--oxblood); color: var(--ivory); }
.btn--ivory { background: var(--ivory); color: var(--oxblood); border-color: var(--ivory); }
.btn--ivory:hover { background: var(--paper); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(250, 246, 240, .75); }
.btn--ghost:hover { background: rgba(250, 246, 240, .12); border-color: var(--ivory); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.actions--center { justify-content: center; }
.link { color: var(--oxblood); font-weight: 700; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }

/* ---------- preview bar + masthead ---------- */
.preview-bar { background: var(--oxblood); color: var(--ivory); text-align: center; font-size: 13px; line-height: 1.45; padding: 8px 16px; }
.preview-bar strong { letter-spacing: .04em; }
.masthead { position: sticky; top: 0; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.masthead__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; justify-self: start; border-radius: 4px; }
.brand img { width: 192px; height: 72px; }
.nav ul { display: flex; gap: 8px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 600; text-decoration: none; letter-spacing: .03em; border-radius: 999px; }
.nav a:hover { color: var(--oxblood); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.masthead__cta { justify-self: end; }

/* ---------- hero: copy in the left 45 %, the portrait's subject on the right ---------- */
.hero { position: relative; background: var(--ivory); }
.hero__fig { position: relative; }
.hero__img { width: 100%; height: 650px; object-fit: cover; object-position: 62% 30%; }
.hero__fig .ai-cap { text-align: right; padding: 10px max(24px, calc((100vw - 1180px) / 2)); background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero__copy { position: absolute; top: 0; left: 0; width: 56%; height: 650px; display: flex; flex-direction: column; justify-content: center;
  padding: 48px 11% 48px max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(90deg, rgba(250, 246, 240, .97) 0%, rgba(250, 246, 240, .94) 64%, rgba(250, 246, 240, 0) 100%); }
.hero__copy > * { max-width: 520px; }
.hero h1 { font-size: 72px; line-height: 1.02; letter-spacing: -.02em; margin: 22px 0 22px; }
.hero .lede { font-size: 19px; color: var(--ink); }
.hero .note { margin: 14px 0 30px; }

/* ---------- listed facts row ---------- */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; gap: 16px; align-items: center; padding: 28px 18px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__ico { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--oxblood); }
.fact strong { display: block; font: 400 17px/1.3 var(--serif); }
.fact span span { display: block; font-size: 14px; color: var(--muted); }

/* ---------- services: four arch-topped cards ---------- */
.services { padding: 96px 0 88px; }
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: 47px; line-height: 1.1; margin: 16px 0 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: 999px 999px var(--r-card) var(--r-card); padding: 12px 12px 26px; box-shadow: var(--shadow); border: 1px solid rgba(185, 140, 87, .25); }
.card__fig { display: flex; flex-direction: column; gap: 8px; }
.card__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 16px 16px; }
.card__fig .ai-cap { text-align: center; font-size: 12px; padding: 0 6px; }
.card__body { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; padding: 16px 10px 0; }
.card__no { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--oxblood); }
.card h3 { font-size: 23px; line-height: 1.2; margin: 6px 0 10px; }
.card__body > p:not(.card__no) { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.round { margin-top: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--oxblood); color: var(--oxblood); transition: background-color .2s, color .2s; }
.round:hover { background: var(--oxblood); color: var(--ivory); }
.more { text-align: center; margin-top: 36px; font-size: 15px; color: var(--muted); }

/* ---------- lookbook: the one dramatic oxblood band ---------- */
.lookbook { color: var(--ivory); padding: 96px 0 72px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #86303D 0%, var(--oxblood) 42%, #3A141B 100%); }
.lookbook__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.lookbook__head .eyebrow::after { content: ''; display: inline-block; width: 36px; height: 1.5px; background: var(--gold-l); vertical-align: middle; margin-left: 14px; }
.lookbook h2 { font-size: 47px; line-height: 1.1; margin: 16px 0 16px; color: var(--ivory); }
.lookbook h2 em { color: var(--gold-l); }
.lookbook__head p { color: rgba(250, 246, 240, .9); }
.lookbook .tag { background: var(--ivory); }
.strips__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; max-width: 1080px; margin: 0 auto; }
.strip { display: flex; flex-direction: column; align-items: center; }
.strip__letter { font: 400 64px/1 var(--serif); color: var(--gold-l); letter-spacing: .02em; margin-bottom: 14px; opacity: .95; }
.strip__frame { display: block; width: 100%; overflow: hidden; border-radius: 999px 999px 10px 10px; border: 1px solid rgba(226, 196, 154, .55); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.strip__frame img { width: 100%; height: 100%; object-fit: cover; }
.strip--1 .strip__frame, .strip--5 .strip__frame { height: 380px; }
.strip--2 .strip__frame, .strip--4 .strip__frame { height: 450px; }
.strip--3 .strip__frame { height: 520px; }
.strip--1 img { object-position: 45% 25%; }
.strip--2 img { object-position: 50% 30%; }
.strip--3 img { object-position: 55% 72%; }
.strip--4 img { object-position: 40% 50%; }
.strip--5 img { object-position: 50% 40%; }
.strips .ai-cap { color: rgba(250, 246, 240, .88); text-align: center; margin-top: 22px; }
.lookbook :focus-visible { outline-color: var(--ivory); }

/* ---------- approach: layered collage on blush ---------- */
.approach { background: var(--blush); padding: 96px 0; }
.approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.collage { position: relative; height: 610px; }
.collage__main, .collage__lines { position: absolute; left: 8%; top: 10px; width: 60%; height: 500px; border-radius: 999px 999px 18px 18px; }
.collage__main { overflow: hidden; transform: rotate(-2.5deg); box-shadow: var(--shadow); z-index: 1; }
.collage__main img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.collage__lines { border: 1.5px solid var(--gold); transform: translate(18px, 6px) rotate(2deg); }
.collage__lines::after { content: ''; position: absolute; inset: -12px; border: 1px solid var(--line); border-radius: inherit; }
.collage__inset { position: absolute; right: 4%; top: 300px; width: 40%; z-index: 2; border: 8px solid var(--paper); border-radius: 20px; overflow: hidden; transform: rotate(3deg); box-shadow: var(--shadow); }
.collage__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.collage__flourish { position: absolute; left: 0; top: 470px; width: 170px; height: auto; opacity: .75; z-index: 0; }
.collage .ai-cap { position: absolute; left: 0; right: 0; bottom: 0; max-width: 460px; }
.approach h2 { font-size: 47px; line-height: 1.1; margin: 16px 0 18px; }
.lede-sm { font-size: 18px; max-width: 470px; }
.steps__title { font: 700 13px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--oxblood); margin: 34px 0 6px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(103, 40, 50, .18); }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--oxblood); font: 400 17px/1 var(--serif); color: var(--oxblood); background: rgba(250, 246, 240, .6); }
.steps strong { display: block; font: 400 20px/1.3 var(--serif); }
.steps span span { display: block; font-size: 15.5px; color: var(--ink); }
.approach .note { margin-top: 18px; color: var(--ink); }
.approach .tag { background: var(--ivory); }

/* ---------- optional academy block (off by default) ---------- */
.academy { padding: 48px 0; background: var(--paper); text-align: center; }
.academy h2 { font-size: 32px; margin: 12px 0 8px; }

/* ---------- enquiry ---------- */
.enquire { padding: 96px 0; }
.enquire__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.enquire h2 { font-size: 47px; line-height: 1.1; margin: 16px 0 18px; }
.enquire__copy > p:not(.eyebrow):not(.note) { font-size: 18px; max-width: 440px; }
.ticks { margin: 24px 0 22px; }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 7px 0; font-size: 16px; }
.ticks .ico { color: var(--paper); background: var(--oxblood); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 2.4; }
.enquire__seal { width: 112px; height: 112px; margin-top: 30px; border-radius: 50%; }
.form { background: var(--paper); border-radius: var(--r-card); padding: 36px; box-shadow: var(--shadow); border: 1px solid rgba(185, 140, 87, .3); }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 13.5px; color: var(--muted); margin: -2px 0 6px; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--field); border-radius: 12px; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--sans); }
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--oxblood) 50%), linear-gradient(135deg, var(--oxblood) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field [aria-invalid=true] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.err { color: var(--error); font-size: 14px; font-weight: 600; margin-top: 5px; }
.err:empty { display: none; }
.field--check { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--oxblood); }
.field--check label { font-weight: 400; font-size: 15px; margin: 0; }
.field--check .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status:not(:empty) { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #F4ECE8; border-left: 4px solid var(--oxblood); font-size: 15px; }
.status pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13.5px/1.5 ui-monospace, Menlo, monospace; margin: 8px 0 0; }

/* ---------- contact ---------- */
.contact { background: var(--oxblood); color: var(--ivory); padding: 96px 0; text-align: center; }
.contact h2 { font-size: 47px; line-height: 1.1; color: var(--ivory); margin: 16px 0 10px; }
.contact h2 em { color: var(--gold-l); }
.contact .tag { background: var(--ivory); }
.contact address { font: 400 21px/1.55 var(--serif); margin: 28px auto 30px; max-width: 560px; }
.contact__pin { display: block; color: var(--gold-l); margin-bottom: 10px; }
.contact__pin .ico-lg { width: 36px; height: 36px; margin: 0 auto; }
.contact__email { margin-top: 18px; font-size: 15px; letter-spacing: .02em; }
.contact__src { max-width: 620px; margin: 30px auto 0; font-size: 13.5px; color: rgba(250, 246, 240, .86); }
.contact :focus-visible { outline-color: var(--ivory); }

/* ---------- footer + phone bar ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__in { display: grid; grid-template-columns: 64px 1.4fr 1fr auto; gap: 28px; align-items: center; }
.footer img { border-radius: 50%; }
.footer__h { font-weight: 700; color: var(--ink); }
.footer ul a, .footer__top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--oxblood); font-weight: 600; text-underline-offset: 4px; }
.footer ul li { line-height: 1.2; }
.bar { display: none; }

/* ---------- reveal on scroll (only when motion is allowed; set by app.js) ---------- */
html.anim .rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
html.anim .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .round { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__copy { width: 62%; }
  .hero h1 { font-size: 60px; }
  .facts__row { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .approach__grid, .enquire__grid { gap: 40px; }
  .footer__in { grid-template-columns: 64px 1fr 1fr; }
  .footer__top { grid-column: 2 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .masthead__in { grid-template-columns: 1fr auto; }
  .approach__grid, .enquire__grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin: 0 auto; width: 100%; }
  .strip__letter { font-size: 48px; }
}

/* ---------- phone (kit breakpoint 760 px) ---------- */
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; scroll-padding-bottom: 90px; }
  body { font-size: 16.5px; padding-bottom: 76px; }
  .preview-bar { font-size: 12.5px; padding: 7px 14px; }
  .masthead__in { min-height: 64px; grid-template-columns: 1fr; }
  .brand img { width: 160px; height: 60px; }
  .masthead__cta { display: none; }

  .hero { display: flex; flex-direction: column; }
  .hero__copy { position: static; order: -1; width: auto; height: auto; padding: 40px 20px 32px; background: var(--ivory); }
  .hero h1 { font-size: 43px; margin: 16px 0; }
  .hero .lede { font-size: 17.5px; }
  .hero .note { margin: 12px 0 24px; }
  .hero .actions .btn { flex: 1 1 auto; }
  .hero__img { height: 380px; object-position: 74% 30%; }
  .hero__fig .ai-cap { text-align: left; padding: 10px 20px; }

  .fact { padding: 18px 12px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .fact__ico { width: 48px; height: 48px; }
  .fact .ico-lg { width: 24px; height: 24px; }
  .fact strong { font-size: 16px; }
  .fact span span { font-size: 13.5px; }

  .services, .approach, .enquire, .contact { padding: 72px 0; }
  .lookbook { padding: 72px 0 56px; }
  .section-head h2, .lookbook h2, .approach h2, .enquire h2, .contact h2 { font-size: 35px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card { border-radius: 200px 200px var(--r-card) var(--r-card); }
  .card__img { aspect-ratio: 6 / 5; }

  .strips__row { gap: 6px; }
  .strip__letter { font-size: 30px; margin-bottom: 8px; }
  .strip__frame { border-radius: 999px 999px 6px 6px; }
  .strip--1 .strip__frame, .strip--5 .strip__frame { height: 210px; }
  .strip--2 .strip__frame, .strip--4 .strip__frame { height: 250px; }
  .strip--3 .strip__frame { height: 290px; }

  .collage { height: 470px; }
  .collage__main, .collage__lines { left: 4%; width: 66%; height: 360px; }
  .collage__inset { top: 220px; width: 42%; border-width: 6px; }
  .collage__flourish { top: 340px; width: 120px; }

  .form { padding: 24px 18px; }
  .form__two { grid-template-columns: 1fr; }
  .contact address { font-size: 18.5px; }

  .footer { padding-bottom: 28px; }
  .footer__in { grid-template-columns: 1fr; gap: 14px; }
  .footer__top { grid-column: auto; }

  .bar { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 246, 240, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(48, 39, 43, .08); }
  .bar .btn { min-height: 48px; padding: 0 14px; }
}
