:root {
  --green-950: #062f23;
  --green-900: #1e3932;
  --green-800: #004b32;
  --green-700: #006241;
  --green-600: #00754a;
  --green-500: #00a862;
  --mint-200: #d4e9e2;
  --mint-100: #eef8f4;
  --cream: #f7f3ea;
  --ink: #10231b;
  --muted: #5e746b;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-light: rgba(255, 255, 255, 0.74);
  --glass-line: rgba(255, 255, 255, 0.76);
  --shadow: 0 24px 70px rgba(0, 62, 42, 0.16);
  --shadow-soft: 0 12px 34px rgba(0, 62, 42, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 8% 6%, rgba(212, 233, 226, 0.95) 0 18rem, transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(0, 117, 74, 0.23) 0 16rem, transparent 34rem),
    radial-gradient(circle at 50% 100%, rgba(0, 98, 65, 0.14) 0 20rem, transparent 42rem),
    linear-gradient(135deg, #fbfdfb 0%, #f1f8f4 48%, #e7f2ed 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 98, 65, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 98, 65, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 8px;
}

.glass-bar,
.glass-card {
  position: relative;
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.36)),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
}

.glass-bar::before,
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.15) 34%, transparent 54%),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.62), transparent 25%);
  opacity: 0.72;
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin-inline: auto;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.nav-links,
.hero-copy > *,
.flagship > *,
.mini-card > *,
.page-panel > *,
.report-card > *,
.contact-card > *,
.promise-card > *,
.footer-inner > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: -0.06em;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.85), transparent 16%),
    linear-gradient(145deg, var(--green-500), var(--green-800));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 12px 28px rgba(0, 98, 65, 0.25);
}

.brand-name {
  font-size: 1.08rem;
  color: var(--green-950);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(16, 35, 27, 0.76);
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 255, 255, 0.45), transparent 22%),
    linear-gradient(145deg, var(--green-600), var(--green-800));
  box-shadow: 0 10px 24px rgba(0, 98, 65, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.28);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 118px);
  padding: clamp(42px, 7vw, 84px) 0 clamp(34px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.hero-copy,
.flagship,
.page-panel,
.report-card,
.contact-card,
.promise-card,
.mini-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-copy {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--green-950);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6.6vw, 5.7rem);
}

h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

blockquote {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--green-900);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.015em;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background:
    radial-gradient(circle at 25% 8%, rgba(255, 255, 255, 0.52), transparent 20%),
    linear-gradient(145deg, var(--green-600), var(--green-800));
  box-shadow: 0 16px 34px rgba(0, 98, 65, 0.26), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.button-soft {
  color: var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-soft), inset 0 1px 1px rgba(255, 255, 255, 0.65);
}

.flagship {
  padding: 14px;
}

.photo-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  border-radius: calc(var(--radius-xl) - 10px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 98, 65, 0.15), rgba(255, 255, 255, 0.48)),
    var(--mint-200);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: -26px;
  background-image:
    linear-gradient(0deg, rgba(0, 48, 32, 0.16), rgba(0, 48, 32, 0.16)),
    url("../img/caernarfon-road-starbucks-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(20px) saturate(0.95);
  transform: scale(1.04);
  opacity: 0.72;
}

.photo-frame picture,
.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.photo-frame picture {
  display: grid;
  place-items: center;
}

.photo-frame img {
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 45, 30, 0.18);
}

.flagship figcaption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: 18px 6px 2px;
}

.flagship figcaption span {
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.flagship figcaption strong {
  color: var(--green-950);
  text-align: right;
  font-size: 1.02rem;
  line-height: 1.2;
}

.feature-row {
  padding: 0 0 clamp(44px, 8vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  padding: 24px;
}

.mini-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mini-card h2 {
  margin-bottom: 10px;
}

.mini-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: clamp(52px, 8vw, 96px) 0 22px;
}

.page-panel {
  padding: clamp(30px, 5vw, 56px);
}

.page-panel h1,
.contact-card h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.report-section {
  padding: 10px 0 clamp(60px, 9vw, 108px);
}

.report-card {
  padding: clamp(24px, 4vw, 38px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
}

.report-icon,
.email-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(145deg, var(--green-500), var(--green-800));
  box-shadow: 0 14px 30px rgba(0, 98, 65, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.report-icon {
  width: 76px;
  height: 92px;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.report-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.report-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-page {
  min-height: calc(100vh - 164px);
  padding: clamp(52px, 8vw, 96px) 0 clamp(56px, 8vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.contact-card,
.promise-card {
  padding: clamp(28px, 5vw, 56px);
}

.email-link {
  width: min(100%, 540px);
  margin-top: 30px;
  padding: 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  transform: translateY(-2px);
}

.email-symbol {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.4rem;
  font-weight: 900;
}

.email-link small,
.email-link strong {
  display: block;
}

.email-link small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email-link strong {
  color: var(--green-950);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  overflow-wrap: anywhere;
}

.glass-green {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(0, 98, 65, 0.9), rgba(6, 47, 35, 0.72)),
    rgba(0, 98, 65, 0.48);
}

.glass-green::before {
  opacity: 0.38;
}

.glass-green .eyebrow,
.glass-green blockquote {
  color: var(--white);
}

.glass-green blockquote {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.site-footer {
  padding: 0 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(16, 35, 27, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid rgba(0, 117, 74, 0.36);
  outline-offset: 4px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-bar,
  .glass-card,
  .button-soft {
    background: rgba(255, 255, 255, 0.94);
  }

  .glass-green {
    background: var(--green-800);
  }
}

@media (max-width: 900px) {
  .hero,
  .contact-page {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .photo-frame {
    min-height: 430px;
  }

  .photo-frame img {
    max-height: 430px;
  }

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

  .report-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .report-card .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-wrap {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    padding-top: 12px;
  }

  .nav-wrap {
    border-radius: 26px;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    padding: 9px 13px;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-copy,
  .flagship,
  .page-panel,
  .report-card,
  .contact-card,
  .promise-card,
  .mini-card {
    border-radius: var(--radius-lg);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .photo-frame {
    min-height: 360px;
  }

  .photo-frame img {
    max-height: 360px;
    border-radius: 20px;
  }

  .flagship figcaption {
    display: block;
  }

  .flagship figcaption strong {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner a {
    display: inline-block;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
