:root {
  --ink: #151515;
  --muted: #646b73;
  --paper: #fbfaf7;
  --line: #e3dfd7;
  --accent: #1f7a6d;
  --accent-dark: #14544b;
  --navy: #10202c;
  --gold: #c7953a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(227, 223, 215, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: clamp(120px, 18vw, 190px);
  height: 52px;
  border-radius: 8px;
  object-fit: contain;
  background: #0b0b0b;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #30353a;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #ece8df;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(16, 32, 44, 0.94) 0%, rgba(16, 32, 44, 0.8) 42%, rgba(31, 122, 109, 0.34) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(16, 32, 44, 0.22));
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: clamp(54px, 9vw, 110px) clamp(18px, 6vw, 88px);
  color: white;
  animation: rise-in 700ms ease both;
}

.eyebrow,
.section-label,
.role {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.team-hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #16110a;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
}

.section {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy p,
.section-heading p,
.profile p {
  color: var(--muted);
}

.intro-copy p:first-child {
  margin-top: 0;
}

.highlight-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.highlight-item {
  min-height: 170px;
  padding: 28px;
  background: #f4f0e8;
}

.highlight-item span {
  display: block;
  color: var(--accent);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.highlight-item p {
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.social-section {
  background: #ffffff;
}

.social-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.social-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.social-content p:last-child {
  color: var(--muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.social-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  color: white;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, filter 180ms ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.social-icon.facebook {
  background: #3b75b4;
}

.social-icon.twitter {
  background: #58bbe8;
}

.social-icon.website {
  background: #d8477d;
}

.social-icon.google {
  background: #050505;
}

.team-hero {
  background: var(--navy);
  color: white;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(16, 32, 44, 0.94), rgba(16, 32, 44, 0.72), rgba(31, 122, 109, 0.44));
}

.about-hero {
  background: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.services-hero {
  background: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.products-hero {
  background: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.documents-hero {
  background: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.work-hero {
  background: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.contact-hero {
  background: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.webmail-hero {
  background: url("https://images.unsplash.com/photo-1484417894907-623942c8ee29?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.team-hero-inner {
  max-width: 960px;
  padding: clamp(68px, 11vw, 140px) clamp(18px, 6vw, 88px);
  animation: rise-in 650ms ease both;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding: clamp(68px, 11vw, 140px) clamp(18px, 6vw, 88px);
  animation: rise-in 650ms ease both;
}

.team-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.page-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.section-heading {
  margin-bottom: 34px;
}

.directors-grid,
.members-grid {
  display: grid;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.directors-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.members-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.members-grid .profile {
  display: flex;
  flex-direction: column;
}

.members-grid .photo-frame {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(31, 122, 109, 0.14), rgba(199, 149, 58, 0.18)),
    #efeae1;
}

.members-grid .photo-frame img {
  object-position: center 28%;
}

.members-grid .profile:nth-child(3) .photo-frame img {
  transform: scale(1.72);
  object-position: center 38%;
}

.members-grid .profile-body {
  flex: 1;
}

.profile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 32, 44, 0.12);
}

.director-profile {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
}

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(31, 122, 109, 0.2), rgba(199, 149, 58, 0.22)),
    #e8e3d9;
  color: var(--accent-dark);
  font-weight: 800;
}

.photo-frame.large {
  height: 100%;
  min-height: 310px;
  aspect-ratio: auto;
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame span {
  z-index: 1;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.photo-frame:not(.photo-missing) span {
  display: none;
}

.profile-body {
  padding: 22px;
}

.profile-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}

.split-section h2,
.contact-panel h2,
.cta-band h2,
.webmail-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.rich-copy p,
.feature-block p,
.timeline p,
.contact-panel,
.small-note,
.webmail-card p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 32, 44, 0.1);
}

.product-visual {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: end start;
  padding: 24px;
  background:
    linear-gradient(130deg, rgba(16, 32, 44, 0.08), rgba(31, 122, 109, 0.22)),
    linear-gradient(160deg, #e7efe9, #f5eee3);
}

.product-photo {
  overflow: hidden;
}

.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-visual span {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.15;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.price-tag {
  color: var(--accent-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.stock-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf6f4;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.booking-section {
  background: #ffffff;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.booking-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.booking-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

.booking-form select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(31, 122, 109, 0.18);
}

.documents-band {
  background: #ffffff;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.document-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
}

.featured-document {
  max-width: 1180px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(31, 122, 109, 0.07), rgba(199, 149, 58, 0.1)),
    #ffffff;
}

.document-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.document-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.document-meta div {
  padding: 16px;
  border-radius: 8px;
  background: #f6f2ea;
}

.document-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.document-meta strong {
  color: var(--navy);
  font-size: 1rem;
}

.document-address,
.document-scope {
  color: var(--muted);
}

.feature-block {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(16, 32, 44, 0.1);
}

.feature-block h3,
.timeline h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #e8e3d9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--line);
}

.timeline article {
  min-height: 240px;
  padding: 28px;
  background: #ffffff;
}

.timeline span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.contact-form,
.webmail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(31, 122, 109, 0.18);
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.info-list li {
  display: grid;
  gap: 3px;
}

.info-list a {
  color: var(--accent-dark);
  font-weight: 800;
}

.webmail-section {
  display: grid;
  place-items: center;
}

.webmail-card {
  max-width: 720px;
}

.webmail-card .button {
  margin-top: 10px;
}

.small-note {
  margin-top: 18px;
  font-size: 0.92rem;
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 72px);
  background: #0f171d;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.site-footer a {
  color: white;
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

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

@media (max-width: 900px) {
  .intro-grid,
  .section-heading,
  .directors-grid,
  .members-grid,
  .social-content,
  .split-section,
  .contact-grid,
  .booking-grid,
  .document-grid,
  .document-meta,
  .product-grid,
  .feature-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .director-profile {
    grid-template-columns: 1fr;
  }

  .photo-frame.large {
    min-height: 260px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: 132px;
    height: 44px;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - 119px);
  }

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

  .highlight-band {
    grid-template-columns: 1fr;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-block: 48px;
  }
}
