:root {
  --color-cream: #f5efe6;
  --color-cream-soft: #faf6ef;
  --color-sand: #e8dccb;
  --color-terracotta: #b97551;
  --color-terracotta-dark: #8e5439;
  --color-clay: #d4a995;
  --color-sage: #8a9a7b;
  --color-sage-soft: #b4c0a3;
  --color-cocoa: #3d2e22;
  --color-cocoa-soft: #5b463a;
  --color-muted: #8a7a6c;

  --font-serif: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1120px;
  --space-section: clamp(4rem, 9vw, 8rem);

  --shadow-soft: 0 10px 40px -20px rgba(61, 46, 34, 0.25);
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-cream);
  color: var(--color-cocoa);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
}

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

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

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

a {
  color: var(--color-terracotta-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-cocoa);
}

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

section {
  padding-block: var(--space-section);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 1rem;
  font-weight: 500;
}

.kicker-serif {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-terracotta);
  margin-bottom: 1.25rem;
}

.kicker-serif::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-cream-soft);
}

.btn-primary:hover {
  background: var(--color-terracotta-dark);
  color: var(--color-cream-soft);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background: var(--color-cocoa);
  color: var(--color-cream-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================ Navbar ================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(61, 46, 34, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-cocoa);
  font-weight: 500;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: var(--color-cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

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

.nav-list a {
  color: var(--color-cocoa);
  font-size: 0.95rem;
  position: relative;
}

.nav-list a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:not(.nav-cta):hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
}

.nav-list a.is-active {
  color: var(--color-terracotta-dark);
}

.nav-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-cocoa);
  transition: color 0.2s ease;
}

.nav-toggle:hover {
  color: var(--color-terracotta);
}

.nav-toggle-text--open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-text--closed {
  display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-text--open {
  display: inline;
}

@media (max-width: 820px) {
  .brand-name {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-cream-soft);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    gap: 1rem;
    transform-origin: top;
    transform: scaleY(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-list[data-open='true'] {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    align-self: flex-start;
  }
}

/* ================ Hero ================ */
.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(212, 169, 149, 0.45), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(138, 154, 123, 0.25), transparent 60%),
    var(--color-cream);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .lead,
.hero-copy > .hero-actions,
.hero-card {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-copy > .eyebrow      { animation-delay: 0.05s; }
.hero-copy > h1            { animation-delay: 0.18s; }
.hero-copy > .lead         { animation-delay: 0.32s; }
.hero-copy > .hero-actions { animation-delay: 0.46s; }
.hero-card                 { animation-delay: 0.25s; animation-duration: 1.1s; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy h1 {
  margin-top: 0.5rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 36ch;
  color: var(--color-cocoa-soft);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(61, 46, 34, 0) 0%,
    rgba(61, 46, 34, 0.15) 45%,
    rgba(61, 46, 34, 0.7) 100%
  );
}

blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-cream-soft);
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(61, 46, 34, 0.4);
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -4.5rem;
  left: -0.75rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 9rem;
  line-height: 1;
  color: rgba(245, 239, 230, 0.22);
  text-shadow: none;
  pointer-events: none;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ================ About ================ */
.about {
  background: var(--color-cream-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
}

.portrait-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.portrait-accent {
  position: absolute;
  width: 55%;
  height: 55%;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-sage-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0;
  transform: translate(2.25rem, 2.25rem) scale(0.9);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portrait-accent.is-revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.credentials {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: minmax(0, 11rem) 1fr;
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid rgba(61, 46, 34, 0.1);
  border-bottom: 1px solid rgba(61, 46, 34, 0.1);
  align-items: baseline;
}

.credentials strong {
  font-weight: 500;
  color: var(--color-cocoa);
}

.credentials span {
  color: var(--color-cocoa-soft);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 320px;
  }

  .credentials {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ================ Specialisations ================ */
.specs-header {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.specs-intro {
  font-size: 1.1rem;
}

.specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.specs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.specs-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.specs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

@media (max-width: 900px) {
  .specs-layout {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .specs-photo {
    aspect-ratio: 16 / 9;
  }
}

.spec-card {
  background: var(--color-cream-soft);
  border: 1px solid rgba(61, 46, 34, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(185, 117, 81, 0.3);
}

.spec-card h3 {
  margin: 0 0 0.5rem;
  color: var(--color-cocoa);
  hyphens: auto;
  overflow-wrap: break-word;
}

.spec-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-cocoa-soft);
}

.spec-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  background:
    radial-gradient(circle at 30% 30%, var(--color-clay), var(--color-terracotta) 70%);
  box-shadow: 0 6px 16px -8px rgba(185, 117, 81, 0.6);
}

.spec-card:nth-child(3n + 2) .spec-icon {
  background: radial-gradient(circle at 30% 30%, var(--color-sage-soft), var(--color-sage) 70%);
  box-shadow: 0 6px 16px -8px rgba(138, 154, 123, 0.6);
}

.spec-card:nth-child(3n) .spec-icon {
  background: radial-gradient(circle at 30% 30%, #e8d2c1, #c08a6c 70%);
  box-shadow: 0 6px 16px -8px rgba(192, 138, 108, 0.5);
}

/* shape variation per card — six distinct silhouettes */
.spec-card:nth-child(2) .spec-icon {
  border-radius: 0.4rem;
}

.spec-card:nth-child(3) .spec-icon {
  border-radius: 1.25rem 1.25rem 0.3rem 0.3rem;
}

.spec-card:nth-child(4) .spec-icon {
  border-radius: 62% 38% 55% 45% / 52% 60% 40% 48%;
}

.spec-card:nth-child(5) .spec-icon {
  border-radius: 0.2rem;
  rotate: 45deg;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.5rem;
  margin-left: 0.2rem;
}

.spec-card:nth-child(6) .spec-icon {
  border-radius: 0;
  clip-path: polygon(50% 4%, 96% 96%, 4% 96%);
  box-shadow: none;
}

/* ================ Locations ================ */
.locations {
  background:
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
}

.loc-header {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.loc-card {
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loc-marker {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-terracotta);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}

.loc-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}

address {
  font-style: normal;
  color: var(--color-cocoa-soft);
  line-height: 1.6;
}

address a {
  color: inherit;
  border-bottom: 1px dotted currentColor;
}

address a:hover {
  color: var(--color-terracotta-dark);
}

.loc-parking {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
}

.loc-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding-top: 0.5rem;
}

.loc-phone,
.loc-email,
.loc-website {
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ================ Footer ================ */
.footer {
  background: var(--color-cocoa);
  color: var(--color-cream-soft);
  padding-block: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin: 0 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 230, 0.12);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--color-cream-soft);
}

.footer-tag {
  color: rgba(245, 239, 230, 0.7);
  margin: 0;
  max-width: 28ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: rgba(245, 239, 230, 0.85);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-clay);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  color: rgba(245, 239, 230, 0.55);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
