/*
Theme Name: Hollands & Rose
Description: Neomorphic one-page theme for Hollands & Rose Ltd — cleaning, maintenance and property services. All copy editable via the Customizer.
Author: Dusk Engineering
Version: 1.0.0
*/

:root {
  --bg: #E9EDF4;
  --navy: #24395C;
  --navy-deep: #1E3050;
  --body: #4A5A75;
  --muted: #76839B;
  --gold: #B08D57;
  --gold-soft: #C7A876;
  --sd: #C3CCDD;          /* shadow, dark side */
  --sl: #FFFFFF;          /* shadow, light side */
  --sd-strong: #B4BFD3;
  --btn-navy: #24395C;
  --btn-navy-ink: #EDF1F8;
  --focus: 0 0 0 3px rgba(176, 141, 87, .45);
}
:root:not([data-theme="light"]) {
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #272D3B;
    --navy: #D9E2F1;
    --navy-deep: #EAF0F9;
    --body: #A9B4C9;
    --muted: #8792A8;
    --gold: #C9A468;
    --gold-soft: #B08D57;
    --sd: #1B202B;
    --sl: #333B4D;
    --sd-strong: #161A23;
    --btn-navy: #3A517A;
    --btn-navy-ink: #EDF1F8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #272D3B;
  --navy: #D9E2F1;
  --navy-deep: #EAF0F9;
  --body: #A9B4C9;
  --muted: #8792A8;
  --gold: #C9A468;
  --gold-soft: #B08D57;
  --sd: #1B202B;
  --sl: #333B4D;
  --sd-strong: #161A23;
  --btn-navy: #3A517A;
  --btn-navy-ink: #EDF1F8;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p  { margin: 0 0 1em; max-width: 62ch; }
a  { color: var(--navy); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }

.eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow .sep { color: var(--muted); padding: 0 .35em; }

/* ---- neumorphic primitives ---- */
.raised {
  background: var(--bg);
  border-radius: 26px;
  box-shadow: 10px 10px 24px var(--sd), -10px -10px 24px var(--sl);
}
.well {
  background: var(--bg);
  border-radius: 20px;
  box-shadow: inset 5px 5px 12px var(--sd), inset -5px -5px 12px var(--sl);
}
.pill-btn {
  display: inline-block;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 16px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--bg);
  color: var(--navy);
  box-shadow: 7px 7px 16px var(--sd), -7px -7px 16px var(--sl);
  transition: box-shadow .18s ease, transform .18s ease;
}
.pill-btn:hover { box-shadow: 9px 9px 20px var(--sd-strong), -9px -9px 20px var(--sl); transform: translateY(-1px); }
.pill-btn:active { box-shadow: inset 5px 5px 10px var(--sd), inset -5px -5px 10px var(--sl); transform: translateY(0); }
.pill-btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}
.pill-btn.primary {
  background: var(--btn-navy);
  color: var(--btn-navy-ink);
  box-shadow: 7px 7px 16px var(--sd-strong), -7px -7px 16px var(--sl);
}
.pill-btn.primary:active { box-shadow: inset 5px 5px 12px rgba(0,0,0,.35); }

/* ---- logo lockup ---- */
.lockup { text-align: center; color: var(--navy); }
.lockup .mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .16em;
  width: 7.2em;
  height: 7.2em;
  border: .18em solid var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1em;
}
.lockup .mark span { font-size: 2.75em; line-height: .88; display: block; }
.lockup .mark .bar { width: 1.9em; height: .12em; background: var(--navy); font-size: 1em; }
.lockup .name {
  margin-top: 1.1em;
  font-size: .98em;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
  text-indent: .32em; /* balance trailing letter-spacing */
}
.lockup .rule {
  margin: .75em auto .7em;
  width: 100%;
  max-width: 21em;
  height: 2px;
  background: var(--gold);
}
.lockup .tag {
  font-size: .56em;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  text-indent: .18em;
}
.lockup .tag i { font-style: normal; color: var(--gold); padding: 0 .55em; }

/* ---- header ---- */
header.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  box-shadow: 0 6px 18px var(--sd);
}
body.admin-bar header.site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.site-head { top: 46px; } }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
}
.nav-brand .mini-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2.5px solid var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  line-height: .85;
  border-radius: 10px;
  box-shadow: 4px 4px 10px var(--sd), -4px -4px 10px var(--sl);
}
.nav-brand .mini-mark .bar { width: 12px; height: 1.5px; background: var(--navy); margin: 1.5px 0; }
.nav-brand .brand-text { font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .82rem; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--body);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  transition: box-shadow .15s ease, color .15s ease;
}
.nav-links a:hover { color: var(--navy); box-shadow: inset 3px 3px 7px var(--sd), inset -3px -3px 7px var(--sl); }
.nav-links .cta { color: var(--gold); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--bg);
  color: var(--gold);
  box-shadow: 5px 5px 12px var(--sd), -5px -5px 12px var(--sl);
  transition: box-shadow .18s ease;
  margin-left: 6px;
  flex: none;
}
.theme-toggle:hover { box-shadow: 7px 7px 14px var(--sd-strong), -7px -7px 14px var(--sl); }
.theme-toggle:active { box-shadow: inset 4px 4px 8px var(--sd), inset -4px -4px 8px var(--sl); }
.theme-toggle:focus-visible { outline: none; box-shadow: var(--focus); }
.theme-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 780px) {
  .nav-links a:not(.cta) { display: none; }
  .nav-brand .brand-text { font-size: .72rem; }
}

/* ---- hero ---- */
.hero { padding: 96px 0 100px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-copy p.lede { font-size: 1.12rem; font-weight: 300; max-width: 46ch; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-plinth {
  padding: 56px 40px;
  display: flex;
  justify-content: center;
}
.hero-plinth .lockup { font-size: clamp(14px, 1.6vw, 19px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plinth { order: -1; }
  .hero-plinth .lockup { font-size: 15px; }
}
@media (max-width: 480px) {
  .hero-plinth { padding: 40px 18px; }
  .hero-plinth .lockup { font-size: 12px; }
}

/* ---- services ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 48px;
}
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  padding: 40px 34px 34px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 14px 14px 30px var(--sd-strong), -12px -12px 26px var(--sl); }
.card .icon-well {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.card .icon-well svg { width: 34px; height: 34px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card ul { list-style: none; margin: 18px 0 0; padding: 0; }
.card li { padding: 7px 0 7px 22px; position: relative; font-size: .95rem; }
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 2px 2px 4px var(--sd), inset -2px -2px 4px var(--sl), 0 0 0 1.5px var(--gold);
}

/* ---- assurance strip ---- */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 54px;
}
@media (max-width: 900px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.strip .tile { padding: 28px 22px; text-align: center; }
.strip .tile b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.strip .tile span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---- process ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 48px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px 26px; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.25rem; }
.step p { font-size: .93rem; margin: 0; }

/* ---- promise band ---- */
.promise { padding: 64px 48px; text-align: center; }
.promise .rule-gold { width: 72px; height: 2px; background: var(--gold); margin: 0 auto 28px; }
.promise blockquote {
  margin: 0 auto;
  max-width: 44ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
}
.promise cite { display: block; margin-top: 22px; font-family: "Jost", sans-serif; font-style: normal; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { padding: 40px 36px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 22px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 4px 0 0; color: var(--navy); font-size: 1.05rem; }
form.card-form { padding: 40px 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--bg);
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: inset 4px 4px 10px var(--sd), inset -4px -4px 10px var(--sl);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ---- footer ---- */
footer.site-foot { padding: 64px 0 40px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
footer.site-foot .lockup { font-size: 9px; text-align: left; }
footer.site-foot .lockup .name { font-size: 1.15em; }
footer.site-foot .lockup .rule { margin-left: 0; max-width: 18em; }
.foot-links { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-links div { min-width: 140px; }
.foot-links h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 500; }
.foot-links a { display: block; text-decoration: none; color: var(--body); font-size: .92rem; padding: 4px 0; }
.foot-links a:hover { color: var(--navy); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--sd); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted); }

/* ---- reveal motion ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .pill-btn:hover { transform: none; }
}
