@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-600-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --green: #123024;
  --green-deep: #0c1f16;
  --green-raised: #1b3c2b;
  --gold: #c6a45e;
  --gold-bright: #e0c48a;
  --ink: #14281c;
  --cream: #f4efe4;
  --cream-text: #f4efe4;
  --muted-on-green: #e7e1d4;
  --bronze: #6e5420;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 1120px;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  background: var(--green);
  color: var(--cream-text);
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: #102418;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 40;
  background: var(--gold);
  color: #102418;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 3vw, 1.5rem);
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.prose p {
  max-width: 62ch;
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.65;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.7rem 1.35rem;
  background: var(--gold);
  color: #102418;
  border: 2px solid var(--gold);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #102418;
}

.btn:active {
  background: #b8924a;
  border-color: #b8924a;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--green);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(198, 164, 94, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: 4.4rem;
}

.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo:hover {
  color: var(--gold-bright);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.25rem;
}

.nav a {
  color: var(--cream-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  padding: 0.35rem 0;
}

.nav a:hover {
  color: var(--gold-bright);
}

.hero {
  padding: 2.6rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy {
  container-type: inline-size;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: clamp(2.05rem, 8.2vw, 4rem);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

@supports (font-size: 1cqi) {
  .hero h1 {
    font-size: min(4.35rem, calc(100cqi / 10.15));
  }
}

.rule {
  width: 4.25rem;
  height: 2px;
  margin: 1.15rem 0 0;
  background: var(--gold);
}

.specialist {
  margin: 1rem 0 0;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-text);
}

.tagline {
  margin: 0.7rem 0 0;
  max-width: 36rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--cream-text);
}

.hero .btn {
  margin-top: 1.55rem;
}

.hero-map img {
  width: min(100%, 270px);
  margin-inline: auto;
}

.section {
  padding: 4.25rem 0;
}

.section-cream {
  background: var(--cream);
  color: var(--ink);
  color-scheme: light;
}

.section-cream .kicker {
  color: var(--bronze);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 2rem 3rem;
  align-items: start;
}

.licence-panel {
  background: var(--green);
  color: var(--cream-text);
  border-top: 3px solid var(--gold);
  padding: 1.4rem 1.3rem 1.5rem;
  color-scheme: dark;
}

.panel-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.licence-row {
  display: grid;
  gap: 1.15rem;
}

.licence {
  margin: 0;
}

.licence span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.licence strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--gold);
}

.services-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service {
  flex: 1 1 100%;
  background: var(--green-raised);
  border: 1px solid rgba(198, 164, 94, 0.38);
  padding: 1.25rem 1.15rem 1.3rem;
}

.service:hover {
  border-color: var(--gold);
  background: #204833;
}

.icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(198, 164, 94, 0.55);
  background: rgba(12, 31, 22, 0.28);
}

.icon svg {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
}

.service h3 {
  margin: 0.85rem 0 0.35rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--cream-text);
}

.service p {
  margin: 0;
  color: var(--muted-on-green);
  font-size: 1.02rem;
  line-height: 1.45;
}

.route {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.2rem 0 0;
  padding: 0;
  position: relative;
}

.route::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  background: var(--gold);
}

.route li {
  position: relative;
  flex: 1;
  text-align: center;
  padding-top: 2.05rem;
}

.route li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--cream);
}

.route li.home::before {
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--green);
  border: 3px solid var(--gold);
}

.place {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1;
}

.note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}

.surrounds {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

address {
  font-style: normal;
}

.who {
  margin: 1.35rem 0 0;
  font-weight: 700;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.where {
  margin: 0.25rem 0 0;
  font-size: 1.08rem;
  color: var(--muted-on-green);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 1.05rem;
}

.contact-list span {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-link {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
  text-decoration-color: rgba(198, 164, 94, 0.65);
  overflow-wrap: anywhere;
}

.detail-link:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold-bright);
}

.contact .btn {
  margin-top: 1.55rem;
}

.contact-map img {
  width: min(100%, 420px);
  margin-inline: auto;
}

.footer {
  background: var(--green-deep);
  color: var(--muted-on-green);
  border-top: 1px solid rgba(198, 164, 94, 0.35);
  padding: 2rem 0 2.3rem;
}

.footer p {
  margin: 0.3rem 0;
}

.footer-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--gold);
}

.footer a {
  color: var(--cream-text);
  text-underline-offset: 0.15em;
}

.footer a:hover {
  color: var(--gold-bright);
}

.footer-meta {
  font-size: 0.98rem;
}

@media (min-width: 680px) {
  .service {
    flex: 0 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }
}

@media (min-width: 800px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    align-items: center;
  }

  .section {
    padding: 5.4rem 0;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 4rem 0 4.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem 3rem;
  }

  .hero-map img {
    width: min(100%, 460px);
    margin-right: 0;
    margin-left: auto;
  }
}

@media (min-width: 980px) {
  .services-grid {
    justify-content: center;
  }

  .service {
    flex: 0 1 calc(25% - 9px);
    max-width: calc(25% - 9px);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 7.4rem;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-block: 0.8rem 0.7rem;
    min-height: 0;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .nav a {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .route {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-left: 0.15rem;
  }

  .route::before {
    left: 7px;
    right: auto;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    height: auto;
  }

  .route li {
    text-align: left;
    padding: 0 0 0 2.35rem;
  }

  .route li::before {
    left: 0;
    top: 0.2rem;
    transform: none;
  }

  .route li.home::before {
    left: -1px;
    top: 0.15rem;
  }

  .surrounds {
    text-align: left;
    padding-left: 2.5rem;
  }

  .hero .btn,
  .contact .btn {
    width: 100%;
  }
}

@media (max-width: 799px) {
  .contact-map {
    display: none;
  }

  .licence-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 380px) {
  .nav a {
    font-size: 0.86rem;
  }

  .licence-row {
    grid-template-columns: 1fr;
  }
}

#work {
  border-top: 1px solid rgba(198, 164, 94, 0.35);
}

.gallery-grid {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-deep);
  border: 1px solid rgba(198, 164, 94, 0.38);
}

.gallery-grid picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid a:hover,
.gallery-grid a:focus-visible {
  border-color: var(--gold);
}

.lightbox {
  width: min(960px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream-text);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(12, 31, 22, 0.92);
}

.lightbox-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0.6rem;
}

.lightbox-close {
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gold);
  background: var(--green);
  color: var(--cream-text);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--gold);
  color: #102418;
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  margin-inline: auto;
  object-fit: contain;
  background: var(--green-deep);
  border: 1px solid rgba(198, 164, 94, 0.45);
}

.lightbox figcaption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .service {
    transition: none;
  }
}

.missing {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.missing h1 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--cream-text);
}

.missing p {
  margin: 1rem 0 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
}

@media print {
  header {
    position: static;
  }

  .hero-map,
  .contact-map,
  .skip,
  .lightbox {
    display: none;
  }
}
