:root {
  --ivory: #f7f2ea;
  --paper: #efe6d8;
  --ink: #2a2924;
  --ink-soft: #5c584e;
  --forest: #343f2f;
  --forest-deep: #262e22;
  --sage: #a3ab8e;
  --blush: #e3bfb3;
  --rose: #b97a6c;
  --gold: #b88d52;
  --line: rgba(42, 41, 36, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ivory);
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1 em,
h2 em {
  font-style: italic;
  color: var(--rose);
}

p {
  margin: 0 0 1.1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
}

.eyebrow--light {
  color: var(--blush);
}

/* Buttons & links */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--forest);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--forest);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: transparent;
  color: var(--forest);
}

.btn--light {
  background: var(--ivory);
  color: var(--forest-deep);
  border-color: var(--ivory);
}

.btn--light:hover {
  background: transparent;
  color: var(--ivory);
}

.link-arrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 0.3s ease;
}

.link-arrow::after {
  content: " →";
}

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

.link-arrow--light {
  color: var(--ivory);
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 48px;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  padding: 2px;
  background: var(--ivory);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.brand-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--rose);
}

.nav-links .nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--ink);
}

.nav-links .nav-cta:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--ink);
  margin: 7px 0;
  transition: transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 81px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 96px 48px;
  color: var(--ivory);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(30, 34, 24, 0.72) 0%, rgba(30, 34, 24, 0.35) 45%, rgba(30, 34, 24, 0) 75%),
    linear-gradient(0deg, rgba(30, 34, 24, 0.55) 0%, rgba(30, 34, 24, 0) 45%);
}

.hero-content {
  position: relative;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02;
  margin-bottom: 28px;
}

.hero h1 em {
  color: var(--blush);
}

.hero-lede {
  max-width: 480px;
  font-size: 18px;
  color: rgba(247, 242, 234, 0.88);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

/* Pillar strip */
.pillar-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 24px;
  background: var(--forest);
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}

.pillar-strip .dot {
  color: var(--gold);
  font-style: normal;
}

/* About */
.about {
  padding: 120px 48px;
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 96px;
  align-items: center;
}

.about-figure {
  margin: 0;
  position: relative;
  isolation: isolate;
}

.about-figure::before {
  content: "";
  position: absolute;
  inset: 32px -32px -32px 32px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-figure figcaption {
  margin-top: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
}

.about-copy h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 32px;
}

.about-copy p {
  color: var(--ink-soft);
  max-width: 540px;
}

.about-quote {
  margin: 40px 0 0;
  padding-left: 24px;
  border-left: 1px solid var(--rose);
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--forest);
}

/* Section heads */
.section-head {
  max-width: 1280px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.section-head--light h2 {
  color: var(--ivory);
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  flex-wrap: wrap;
}

/* Pillars */
.pillars {
  padding: 120px 48px;
  background: var(--paper);
}

.pillar-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar-media {
  overflow: hidden;
  margin-bottom: 28px;
}

.pillar-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.pillar:hover .pillar-media img {
  transform: scale(1.04);
}

.pillar-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 6px;
}

.pillar h3 {
  font-size: 32px;
  margin-bottom: 14px;
}

.pillar p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* The day */
.day {
  padding: 120px 48px;
  background: var(--forest-deep);
  color: var(--paper);
}

.chapters {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.chapter {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: center;
}

.chapter--reverse .chapter-media {
  order: 2;
}

.chapter-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.chapter-media--tall {
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

.chapter-media--tall img {
  aspect-ratio: 4 / 5;
}

.chapter-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.chapter h3 {
  font-size: clamp(36px, 3.6vw, 52px);
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 20px;
}

.chapter p {
  color: rgba(239, 230, 216, 0.78);
  max-width: 440px;
}

/* Portfolio */
.portfolio {
  padding: 120px 48px;
}

.gallery {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(30, 34, 24, 0.55) 0%, rgba(30, 34, 24, 0) 40%);
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 1;
  pointer-events: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ivory);
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

/* Enquire */
.enquire {
  padding: 120px 48px;
  background: var(--paper);
  text-align: center;
  border-top: 1px solid var(--line);
}

.enquire-inner {
  max-width: 640px;
  margin: 0 auto;
}

.enquire-mark {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  padding: 4px;
  background: var(--ivory);
}

.enquire h2 {
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 24px;
}

.enquire p {
  color: var(--ink-soft);
  margin-bottom: 40px;
}

.enquire-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(239, 230, 216, 0.82);
  padding: 80px 48px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(239, 230, 216, 0.16);
}

.brand--footer .brand-name {
  color: var(--ivory);
}

.brand--footer .brand-sub {
  color: rgba(239, 230, 216, 0.6);
}

.brand--footer .brand-mark {
  background: var(--forest-deep);
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blush);
}

.footer-bottom {
  margin: 32px 0 0;
  font-size: 13px;
  color: rgba(239, 230, 216, 0.68);
}

.footer-credit {
  color: inherit;
  text-decoration: none;
}

.footer-credit:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  .about-inner,
  .chapter {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .chapter--reverse .chapter-media {
    order: 0;
  }

  .chapter-media--tall {
    justify-self: start;
  }

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

  .pillar:last-child {
    grid-column: span 2;
  }

  .pillar:last-child .pillar-media img {
    aspect-ratio: 16 / 9;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-nav {
    padding: 16px 24px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 22px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }

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

  .hero {
    min-height: 88vh;
    padding: 64px 24px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(30, 34, 24, 0.82) 0%, rgba(30, 34, 24, 0.35) 60%, rgba(30, 34, 24, 0.1) 100%);
  }

  .pillar-strip {
    font-size: 20px;
  }

  .about,
  .pillars,
  .day,
  .portfolio,
  .enquire {
    padding: 80px 24px;
  }

  .about-figure::before {
    inset: 16px -16px -16px 16px;
  }

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

  .pillar:last-child {
    grid-column: auto;
  }

  .pillar:last-child .pillar-media img {
    aspect-ratio: 4 / 5;
  }

  .chapters {
    gap: 64px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .site-footer {
    padding: 64px 24px 32px;
  }
}
