/* Verity Ollerenshaw — Warm. Expert. Minimal. */

:root {
  --bg: #f7f3ee;
  --bg-white: #ffffff;
  --bg-beige: #efe8df;
  --ink: #2a2420;
  --muted: #7a7168;
  --line: #ddd4c8;
  --accent: #2a2420;
  --footer: #1f1b18;
  --footer-muted: #cfc7ba;
  --ph: #e5ddd3;
  --ph-text: #9a9086;
  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.1rem;
  max-width: 38ch;
}

.center-narrow {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.center-narrow p {
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1.5rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  background: var(--accent);
  color: #f7f3ee;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: #3d3530;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #f7f3ee;
}

.link-underline {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: opacity 0.25s var(--ease);
}

.link-underline:hover {
  opacity: 0.65;
}

/* Placeholders */
.ph {
  background: var(--ph);
  color: var(--ph-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  aspect-ratio: 1;
  min-height: 8rem;
}

.ph--tall {
  aspect-ratio: 3 / 4;
}

.ph--wide {
  aspect-ratio: 4 / 3;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 4.5rem);
  max-height: 860px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  background: var(--bg);
}

.hero__text h1 {
  margin-bottom: 1.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero__media {
  min-height: 100%;
}

.hero__media.ph {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  padding: clamp(2rem, 4vw, 3.25rem) var(--pad);
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.pillar:last-child {
  border-right: 0;
}

.pillar:hover {
  background: var(--bg-beige);
}

.pillar .num {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pillar h3 {
  margin-bottom: 0.75rem;
}

.pillar p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Sections */
section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.tone-beige {
  background: var(--bg-beige);
}

.tone-white {
  background: var(--bg-white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-head {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-head p {
  max-width: 48ch;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  overflow: hidden;
}

.tone-beige .card {
  background: var(--bg-white);
}

.tone-white .card {
  border: 1px solid var(--line);
}

.card__body {
  padding: 1.75rem;
}

.card__body .btn {
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* Grids */
.grid-ig {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.ig-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

.ig-strip__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease;
}

.ig-strip__link:hover {
  opacity: 0.85;
}

.ig-strip__link .ph {
  width: 100%;
}

.ig-handle-link {
  color: inherit;
  text-decoration: none;
}

.ig-handle-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* Quote */
.quote {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Services */
.services {
  max-width: 720px;
  margin: 1.5rem auto 0;
}

.service {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.service:first-child {
  border-top: 1px solid var(--line);
}

.service h3 {
  margin-bottom: 0.4rem;
}

.service p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 42ch;
}

.price {
  font-family: var(--serif);
  font-size: 1.35rem;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.price small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Form */
.form {
  display: grid;
  gap: 1.25rem;
}

.form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-white);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 1px solid var(--ink);
  outline-offset: 0;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  margin: 0;
}

.form-note.is-success {
  color: #4a6b4a;
}

.form-note.is-error {
  color: #8b3a3a;
}

.contact-detail {
  display: grid;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

.contact-detail p {
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #f7f3ee;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.site-footer .brand {
  color: #f7f3ee;
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: #f7f3ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--footer-muted);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: #f7f3ee;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(207, 199, 186, 0.2);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--footer-muted);
}

/* Managed site images */
.site-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ph);
}

.ph.site-image,
.hero__media.site-image {
  aspect-ratio: auto;
}

.hero__media.site-image {
  min-height: 100%;
  height: 100%;
}

.ph--tall.site-image {
  aspect-ratio: 3 / 4;
}

.ph--wide.site-image {
  aspect-ratio: 4 / 3;
}

.grid-ig .site-image,
.ig-strip .site-image,
.gallery .site-image {
  aspect-ratio: 1;
  min-height: 0;
}

/* Rich text from admin */
.rich-content > *:first-child {
  margin-top: 0;
}

.rich-content > *:last-child {
  margin-bottom: 0;
}

.rich-content p {
  margin: 0 0 1rem;
  color: inherit;
}

.rich-content ul,
.rich-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: inherit;
}

.rich-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rich-content strong,
.rich-content b {
  font-weight: 500;
  color: var(--ink);
}

.rich-heading.rich-content p {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  display: block;
}

.rich-heading.rich-content p + p {
  margin-top: 0;
}

/* Soft line breaks from Quill (Shift+Enter or converted newlines) */
.rich-heading.rich-content br {
  display: block;
  content: "";
  margin: 0;
}

.lead.rich-content p,
.page-head .rich-content p {
  color: var(--muted);
}

.quote .rich-content p {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto;
  }

  .hero__media.ph {
    min-height: 55vw;
    max-height: 420px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pillar:last-child {
    border-bottom: 0;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid-ig {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid var(--line);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0;
  }

  .site-header {
    position: relative;
  }

  .site-header.is-fixed-mobile {
    position: sticky;
  }
}

@media (max-width: 600px) {
  .service {
    flex-direction: column;
    gap: 0.75rem;
  }

  .price {
    text-align: left;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
