:root {
  color-scheme: light;
  --ink: #172a2b;
  --muted: #647574;
  --green: #0e6258;
  --green-dark: #083d3a;
  --mint: #c9efdf;
  --paper: #f5f7f4;
  --line: rgba(25, 55, 52, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(27, 55, 48, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 2% 16%, rgba(201, 239, 223, 0.48), transparent 28rem),
    radial-gradient(ellipse at 97% 47%, rgba(222, 236, 226, 0.52), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e5a84c;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.topline {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem max(5vw, calc((100vw - 1200px) / 2));
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.topline-date {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.topline-note {
  color: #b6e4d1;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 0.85rem max(4vw, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(245, 247, 244, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  max-width: 1280px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  max-width: 180px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.07em;
}

.brand-name span {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  color: var(--green-dark);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: #526461;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  box-shadow: 0 12px 24px rgba(14, 98, 88, 0.18);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-dark);
}

.button svg {
  width: 17px;
  height: 17px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: #d78c47;
  content: "";
}

.subpage-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

.page-intro {
  margin-bottom: 3rem;
}

.page-intro h1 {
  max-width: 800px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.page-intro p {
  max-width: 680px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  min-height: 430px;
}

.about-intro .page-intro {
  margin-bottom: 0;
}

.about-photo {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 34px 34px 100px 34px;
  background: #d8e6dc;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.about-photo-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.2rem;
}

.content-card {
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow: 0 14px 42px rgba(27, 55, 48, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.content-card h2 {
  margin: 0 0 0.8rem;
  color: var(--green-dark);
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.8;
}

.content-card p + p {
  margin-top: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-intro {
  position: sticky;
  top: 8rem;
}

.contact-intro .page-intro {
  margin-bottom: 1.5rem;
}

.contact-note {
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  min-height: 185px;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 36px rgba(27, 55, 48, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(27, 55, 48, 0.11);
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 1.05rem;
  place-items: center;
  border-radius: 14px;
  background: #e6f4ec;
  color: var(--green);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card h2 {
  margin: 0 0 0.4rem;
  color: var(--green-dark);
  font-size: 0.92rem;
}

.contact-card p,
.contact-card address {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.gallery-main {
  padding-bottom: 5rem;
}

.gallery-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.gallery-intro p {
  max-width: 450px;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.7rem;
}

.gallery-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 36px rgba(27, 55, 48, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(27, 55, 48, 0.14);
}

.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce8e1;
}

.gallery-media > img,
.gallery-media > video,
.gallery-media > a,
.gallery-media > a > img {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-media > img,
.gallery-media > video,
.gallery-media > a > img {
  object-fit: cover;
}

.gallery-media > a {
  position: relative;
}

.gallery-zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 61, 58, 0.32);
  color: white;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-zoom:hover,
.gallery-zoom:focus-visible {
  opacity: 1;
}

.gallery-zoom svg {
  width: 32px;
  height: 32px;
}

.site-footer {
  padding: 2rem max(5vw, calc((100vw - 1200px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-inner {
  display: flex;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-social {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
}

.footer-social:hover {
  background: var(--green);
  color: white;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1050px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-area {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .topline {
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: 0.68rem;
  }

  .topline-note {
    display: none;
  }

  .site-header {
    padding: 0.7rem 1rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    max-width: 140px;
    font-size: 0.75rem;
  }

  .brand-name span {
    font-size: 0.55rem;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-area {
    position: absolute;
    z-index: 25;
    top: calc(100% + 0.45rem);
    right: 0.8rem;
    left: 0.8rem;
    display: none;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .nav-area.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav li + li {
    border-top: 1px solid var(--line);
  }

  .main-nav a {
    display: block;
    padding: 0.8rem 0.25rem;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .subpage-main {
    padding: 3.5rem 1.2rem 4.5rem;
  }

  .about-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-intro {
    gap: 2rem;
  }

  .about-photo {
    min-height: clamp(270px, 72vw, 400px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .contact-intro {
    position: static;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  #gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 2rem;
  }

  .gallery-item {
    border-radius: 16px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-copy {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 430px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
  }

  #gallery {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
