/* RFT Kitchens, rftkitchens.com
   Built to the Figma v2 artboards (Desktop 1440, Tablet 834, Mobile 390)
   using the tokens from the RFT brand book. */

:root {
  --navy: #061147;
  --navy-hover: #0d1e6b;
  --navy-tint: #e8ebf5;
  --ground: #f7f4ee;
  --ground-raised: #ffffff;
  --stone: #e6e1d8;
  --stone-deep: #cfc8bb;
  --ink: #2b2b2b;
  --ink-muted: #5e5a54;
  --ink-on-navy: #f7f4ee;
  --ink-on-navy-muted: #b7bedb;
  --brass: #b8935a;
  --brass-text: #7d5f2c;
  --whatsapp: #25d366;
  --whatsapp-hover: #1fb85a;
  --focus: #b8935a;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s10: 96px;
  --measure: 68ch;
  --r-sm: 8px;
  --r-md: 12px;
  --r-xs: 4px;
  --hairline: 1px solid var(--stone-deep);
  --brass-line: 1px solid #d9c6a3;
  --gutter: 20px;
  --header-h: 72px;
  --section-y: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 27px;
  font-feature-settings: "tnum" 1;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--ink); }
h1 { font-size: 40px; line-height: 44px; letter-spacing: -0.02em; font-variation-settings: "opsz" 72; }
h2 { font-size: 34px; line-height: 38px; letter-spacing: -0.015em; font-variation-settings: "opsz" 72; }
h3 { font-size: 22px; line-height: 28px; color: var(--navy); }
p { margin: 0 0 var(--s5); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.lead { font-size: 19px; line-height: 29px; color: var(--ink-muted); }
.small { font-size: 14px; line-height: 21px; }
.muted { color: var(--ink-muted); }

.label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin: 0 0 var(--s3);
}
.label-muted { color: var(--ink-muted); }

.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section-y) 0; }
.band-stone { background: var(--stone); }
.band-navy { background: var(--navy); color: var(--ink-on-navy); }
.band-navy h2 { color: var(--ink-on-navy); }

/* Two-column section intro: heading left, content right on desktop */
.split { display: grid; gap: var(--s6); }
.split-head h2 { margin-bottom: var(--s4); }
.split-head .lead { font-size: 17px; line-height: 27px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 15px 24px;
  border-radius: var(--r-sm);
  font: 600 16px/24px var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 120ms ease;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--whatsapp); color: var(--navy); }
.btn-wa:hover { background: var(--whatsapp-hover); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy-tint); }
.btn-sm { padding: 12px 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy);
  color: var(--ink-on-navy);
  height: var(--header-h);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav { display: none; align-items: center; gap: var(--s6); }
.nav a { color: var(--ink-on-navy); text-decoration: none; font-size: 16px; font-weight: 600; }
.nav a:hover { color: var(--ink-on-navy-muted); }
.header-wa { padding: 12px 22px; }
.header-wa span { display: none; }
.header-phone { color: var(--ink-on-navy); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
@media (max-width: 719px) { .header-wa { display: none; } }
@media (min-width: 720px) { .header-phone { display: none; } }

/* Hero */
.hero { padding: var(--s6) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s5); grid-template-areas: "copy" "photo" "after"; }
.hero-copy { grid-area: copy; }
.hero-photo { grid-area: photo; }
.hero-after { grid-area: after; }
.hero h1 { margin: 0 0 var(--s4); }
.hero .lead { margin-bottom: var(--s5); }
.hero-actions { display: grid; gap: var(--s3); }
.hero-areas { margin-top: var(--s4); }
.hero-photo { position: relative; }
.hero-photo .before-inset {
  position: absolute; left: var(--s4); bottom: var(--s4);
  width: 36%; background: var(--ground-raised);
  padding: var(--s2) var(--s2) var(--s3);
  border-radius: var(--r-md);
}
.hero-photo .before-inset .ph { aspect-ratio: 4 / 3; margin-bottom: var(--s2); border-radius: var(--r-sm); }
.hero-photo .before-inset .label { margin: 0; color: var(--ink-muted); font-size: 11px; }

/* Placeholder image blocks: replace each <figure class="ph"> with a real <img> after the shoot */
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph {
  margin: 0;
  background: var(--stone);
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  padding: 0;
  color: var(--ink-muted);
  font-size: 12px; line-height: 16px;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}
.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-3x4 { aspect-ratio: 3 / 4; }
.ph-1x1 { aspect-ratio: 1 / 1; }
.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-tag { background: var(--navy); color: var(--ink-on-navy); padding: 6px 10px; border-radius: var(--r-xs); }
.ph-tag-only { padding: var(--s3); }
.ph-tag-only .ph-tag { display: inline-block; }

/* Sample content: rating and quotes are mock-up text. Remove the "sample" class once real reviews exist. */
.sample { display: none !important; }

/* Rating line */
.rating { display: flex; align-items: center; gap: var(--s2); font-size: 14px; line-height: 21px; color: var(--ink-muted); margin-top: var(--s4); }
.rating .stars { color: var(--brass); letter-spacing: 1px; font-size: 15px; }
.rating strong { color: var(--ink); font-weight: 600; }
.band-navy .rating { color: var(--ink-on-navy-muted); }
.band-navy .rating strong { color: var(--ink-on-navy); }

/* Trust strip */
.trust { padding: var(--s5) 0; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.trust-list li { padding-left: 0; }
.trust-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 24px; color: var(--ink-on-navy); }
.trust-list span { font-size: 14px; line-height: 21px; color: var(--ink-on-navy-muted); }

/* Recent kitchens */
.kitchens-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.kitchens-head .lead { font-size: 17px; line-height: 27px; }
.featured { display: grid; gap: var(--s4); }
.featured .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--r-md); overflow: hidden; }
.featured .pair .ph { border-radius: 0; }
.featured .pair .ph { aspect-ratio: 11 / 14; }
.featured h3 { font-size: 30px; line-height: 36px; margin-bottom: var(--s2); }
.featured .meta { display: flex; gap: var(--s6); margin-top: var(--s3); }
.featured .meta .label { margin: 0 0 2px; color: var(--ink-muted); }
.featured .meta strong { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 28px; color: var(--navy); }
.kitchen-grid { display: grid; gap: var(--s6); margin-top: var(--s7); }
.kitchen h3 { margin: var(--s4) 0 var(--s1); }
.kitchen .ph { aspect-ratio: 7 / 5; }
.kitchens-cta { margin-top: var(--s6); }
.kitchens-cta .btn { width: 100%; }

/* Who this is for */
.checks { border-top: var(--hairline); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); padding: var(--s4) 0; border-bottom: var(--hairline); }
.checks li svg { width: 22px; height: 22px; color: var(--brass); margin-top: 3px; }
.checks strong { display: block; font-weight: 600; color: var(--ink); }
.checks span { color: var(--ink-muted); }

/* How it works */
.how-head { display: grid; gap: var(--s5); margin-bottom: var(--s6); }
.steps { display: grid; }
.steps li { border-top: 2px solid var(--navy); padding: var(--s4) 0 var(--s5); display: grid; grid-template-columns: 44px 1fr; gap: var(--s2); }
.steps .num { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 36px; color: var(--brass); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { color: var(--ink-muted); margin-bottom: var(--s2); }
.steps .when { font-size: 12px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }
.how-cta { margin-top: var(--s4); }
.how-cta .btn { width: 100%; }

/* What you get */
.benefits { display: grid; }
.benefits li { border-top: var(--brass-line); padding: var(--s4) 0 var(--s5); }
.benefits h3 { margin-bottom: var(--s2); }
.benefits p { color: var(--ink-muted); }

/* Pricing */
.price-big { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: 60px; letter-spacing: -0.02em; color: var(--navy); margin: var(--s2) 0 var(--s4); }
.pricing-head h2 { font-size: 26px; line-height: 32px; }
.bands { border-top: var(--hairline); }
.bands li { border-bottom: var(--hairline); padding: var(--s4) 0; display: grid; gap: var(--s2); }
.bands h3 { font-size: 22px; line-height: 28px; }
.bands p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.bands .amount { font-size: 22px; line-height: 28px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.pricing-note { padding-top: var(--s4); color: var(--ink-muted); font-size: 15px; line-height: 22px; }

/* What owners say */
.words-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s6); }
.words-top .rating { margin: 0; }
.quotes { display: grid; gap: var(--s6); }
.quotes blockquote { margin: 0; border-left: 6px solid var(--brass); padding-left: var(--s5); }
.quotes blockquote p { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 24px; line-height: 34px; margin-bottom: var(--s3); }
.quotes cite { font-style: normal; font-size: 13px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }

/* About */
.about-grid { display: grid; gap: var(--s6); }
.about-copy p { color: var(--ink-muted); }
.about-copy h2 { margin-bottom: var(--s4); }
.about-copy .btn { margin-top: var(--s2); }
.about-photos { display: grid; gap: var(--s3); }
.about-photos figure { margin: 0; }
.about-photos .ph-andy { aspect-ratio: 5 / 6; }
.about-photos .ph-van { border-radius: var(--r-md); }
.about-photos .ph-van { aspect-ratio: 7 / 4; }
.about-photos figcaption { font-size: 14px; line-height: 21px; color: var(--ink-muted); }

/* FAQ */
.faq { border-top: var(--brass-line); }
.faq details { border-bottom: var(--brass-line); }
.faq summary {
  border-radius: 0;
  cursor: pointer; list-style: none;
  padding: var(--s4) 0;
  font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 26px; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass-text); font-family: var(--sans); font-weight: 400; font-size: 22px; line-height: 26px; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 var(--s5); color: var(--ink-muted); max-width: var(--measure); }

/* Ready to talk */
.ready .label { color: var(--ink-on-navy-muted); }
.ready h2 { font-size: 30px; line-height: 36px; }
.ready-grid { display: grid; gap: var(--s6); }
.ready-side { display: grid; gap: var(--s3); }
.ready-side a { color: var(--ink-on-navy); text-decoration: none; font-weight: 600; }
.ready-side a:hover { text-decoration: underline; }
.ready-side .where { color: var(--ink-on-navy-muted); font-size: 14px; line-height: 21px; }
.ready-side .btn { width: 100%; }

/* Footer */
.site-footer { background: var(--stone); padding: var(--s6) 0 calc(var(--s6) + 76px); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid var(--stone-deep); }
.footer-top img { height: 40px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); }
.footer-nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--ink); }
.footer-legal { padding-top: var(--s5); color: var(--ink-muted); font-size: 14px; line-height: 21px; }
.footer-legal a { color: var(--ink-muted); }

/* Sticky WhatsApp bar on phones */
.wa-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  transform: translateY(110%);
  transition: transform 200ms ease;
  padding: var(--s3) var(--gutter);
  padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom));
  background: var(--ground);
  border-top: var(--hairline);
}
.wa-bar .btn { width: 100%; }
.wa-bar.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .wa-bar { transition: none; } }

/* Legal page */
.legal { max-width: var(--measure); }
.legal h1 { margin-bottom: var(--s5); }
.legal h2 { font-size: 26px; line-height: 32px; margin: var(--s7) 0 var(--s4); }
.legal p, .legal li { color: var(--ink-muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li { margin-bottom: var(--s2); }
.legal .todo { background: var(--navy-tint); padding: var(--s3) var(--s4); color: var(--navy); border-radius: var(--r-sm); }

/* Tablet, 834 */
@media (min-width: 720px) {
  :root { --gutter: 48px; --header-h: 90px; --section-y: 80px; }
  h1 { font-size: 54px; line-height: 58px; }
  h2 { font-size: 40px; line-height: 44px; }
  .brand img { height: 50px; }
  .header-wa span { display: inline; }
  .hero { padding: var(--s8) 0; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li { border-left: 1px solid rgba(183,190,219,0.4); padding-left: var(--s5); }
  .trust-list li:first-child { border-left: none; padding-left: 0; }
  .featured .pair { grid-template-columns: 1fr 2fr; }
  .featured .pair .ph { aspect-ratio: auto; height: 420px; }
  .kitchen-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .kitchens-cta .btn { width: auto; }
  .how-cta .btn { width: auto; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 var(--s6); }
  .steps li { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 0 var(--s6); }
  .bands li { grid-template-columns: 1fr auto; align-items: start; column-gap: var(--s6); }
  .bands li p { grid-column: 1; }
  .bands li .amount { grid-row: 1; grid-column: 2; font-size: 24px; }
  .quotes { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--s8); }
  .ready h2 { font-size: 34px; line-height: 40px; }
  .ready-grid { grid-template-columns: 1fr auto; align-items: start; gap: var(--s8); }
  .ready-side { text-align: right; justify-items: end; }
  .ready-side .btn { width: auto; }
  .site-footer { padding-bottom: var(--s6); }
  .wa-bar { display: none; }
}

/* Desktop, 1440 */
@media (min-width: 1100px) {
  :root { --gutter: 64px; --section-y: 112px; }
  h1 { font-size: 64px; line-height: 70px; }
  h2 { font-size: 48px; line-height: 54px; }
  .lead { font-size: 20px; line-height: 30px; }
  .nav { display: flex; }
  .hero { padding: 0; }
  .hero .container { padding: 0; max-width: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto 1fr; grid-template-areas: ". photo" "copy photo" "after photo" ". photo"; gap: 0; }
  .hero-copy { padding: 0 var(--s8); }
  .hero-after { padding: var(--s6) var(--s8) 0; }
  .hero-photo { grid-row: 1 / -1; }
  .hero-copy h1, .hero-copy .lead { max-width: 560px; }
  .hero-photo .ph { aspect-ratio: 720 / 760; border-radius: var(--r-md) 0 0 var(--r-md); }
  .split { grid-template-columns: 5fr 7fr; gap: var(--s10); align-items: start; }
  .split-head h2 { font-size: 48px; line-height: 54px; }
  .kitchens-head { grid-template-columns: 1fr 400px; align-items: start; }
  .featured .pair .ph { height: 620px; }
  .featured .body { display: grid; grid-template-columns: 1fr auto; gap: var(--s6); align-items: start; }
  .featured .meta { margin-top: 0; }
  .how-head { grid-template-columns: 1fr auto; align-items: end; }
  .how-head h2 { max-width: 26ch; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .pricing-head h2 { font-size: 32px; line-height: 38px; }
  .price-big { font-size: 72px; line-height: 76px; }
  .ready h2 { font-size: 40px; line-height: 46px; max-width: 34ch; }
  .about-grid { grid-template-columns: 520px 1fr; gap: 80px; }
}

/* Materials */
.section-head { margin-bottom: var(--s6); }
.materials-sub { font-size: 22px; line-height: 28px; color: var(--ink); margin: var(--s7) 0 var(--s4); }
.worktops { display: grid; gap: var(--s5); }
.worktops .ph { aspect-ratio: 4 / 3; margin-bottom: var(--s3); }
.worktops .tier { font-size: 12px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--brass-text); margin: 0 0 2px; }
.worktops h4 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 26px; color: var(--navy); margin: 0 0 var(--s1); }
.worktops p { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.brands-intro { max-width: 60ch; margin-bottom: var(--s5); }
.brand-tiers { display: grid; gap: var(--s5); }
.brand-tier .tier { font-size: 12px; line-height: 18px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--brass-text); margin: 0 0 var(--s2); }
.brands { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: stretch; }
.brands li { background: var(--ground-raised); border: var(--hairline); border-radius: var(--r-sm); width: 150px; height: 68px; padding: 0 16px; display: flex; align-items: center; justify-content: center; }
.brands li img { max-height: 30px; max-width: 110px; width: auto; height: auto; display: block; image-rendering: auto; }
.brands .brands-other { background: var(--navy); border-color: var(--navy); width: auto; padding: 0 20px; }
.brands .brands-other span { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink-on-navy); }
@media (min-width: 720px) { .worktops { grid-template-columns: 1fr 1fr; } .brand-tiers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .worktops { grid-template-columns: repeat(4, 1fr); } .brand-tiers { grid-template-columns: auto auto auto auto; justify-content: start; gap: var(--s7); } .brands li { width: 164px; height: 72px; } .brands li img { max-height: 32px; max-width: 124px; } }
