:root {
  --green: #173c32;
  --green-deep: #0e2a23;
  --ivory: #f4e9d2;
  --paper: #f7f4ed;
  --ink: #19312b;
  --muted: #607069;
  --gold: #9a7a43;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(360px, 42%) 1fr;
}

.brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-deep) 100%);
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(244, 233, 210, 0.12);
  pointer-events: none;
}

.brand-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(244, 233, 210, 0.08);
  box-shadow: 0 0 0 95px rgba(244, 233, 210, 0.018), 0 0 0 190px rgba(244, 233, 210, 0.012);
}

.logo {
  position: relative;
  width: min(74%, 360px);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.16));
}

.content-panel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(44px, 8vw, 130px) 36px;
}

.content-wrap { width: min(100%, 670px); margin: auto 0; }

.eyebrow {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(3.25rem, 6.2vw, 6.7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.intro {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.17rem);
  line-height: 1.75;
}

.credibility {
  max-width: 610px;
  margin: 20px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-summary span { position: relative; }
.service-summary span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.contact-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 17px 22px;
  color: var(--ivory);
  background: var(--green);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.home-actions .contact-button { min-width: 158px; justify-content: space-between; }

.contact-button-secondary {
  color: var(--green);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--green);
}

.contact-button-secondary:hover { color: var(--ivory); background: var(--green); }

.contact-button:hover { background: var(--green-deep); transform: translateY(-2px); }
.contact-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.contact-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

footer {
  color: #84918c;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* Profile and contact page */
.profile-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, var(--green) 0, var(--green) 39%, var(--paper) 39%, var(--paper) 100%);
}

.profile-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(30px, 5vw, 76px);
}

.mini-brand { display: block; width: 112px; }
.mini-brand img { display: block; width: 100%; height: auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.back-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.back-link:hover { color: var(--gold); }
.back-link:focus-visible, .mini-brand:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }

.profile-main {
  flex: 1;
  display: grid;
  grid-template-columns: 39% 61%;
}

.profile-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(30px, 5vw, 76px) 48px;
  color: var(--ivory);
}

.profile-intro .eyebrow { color: #c5a66f; }
.profile-intro h1 {
  color: var(--ivory);
  font-size: clamp(3.7rem, 6.4vw, 7rem);
}

.profile-intro-with-photo { justify-content: center; }
.profile-intro-with-photo .eyebrow { margin-bottom: 20px; }
.profile-photo-wrap {
  width: min(100%, 250px);
  aspect-ratio: 1;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid rgba(244, 233, 210, 0.28);
  box-shadow: 0 20px 42px rgba(4, 20, 16, 0.28);
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-intro-with-photo h1 { font-size: clamp(3.35rem, 5.25vw, 5.6rem); }

.profile-title {
  margin: 26px 0 0;
  color: rgba(244, 233, 210, 0.72);
  font-size: 0.95rem;
  letter-spacing: 0.035em;
}

.profile-details {
  align-self: center;
  width: min(100%, 760px);
  padding: 36px clamp(44px, 8vw, 130px) 48px;
}

.profile-details .lead {
  margin: 0 0 24px;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.profile-details > p:not(.lead) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.services-context {
  max-width: 740px;
}

.profile-rule { width: 48px; height: 2px; margin: 36px 0; background: var(--gold); }
.profile-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.profile-contact .contact-label {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.profile-contact a { color: var(--ink); font-size: 1rem; text-decoration: none; }
.profile-contact a:hover { color: var(--gold); }

.services-intro { justify-content: center; }
.section-logo {
  display: block;
  width: min(72%, 260px);
  height: auto;
  margin: 0 0 42px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.13));
}

.services-details {
  width: min(100%, 1060px);
  padding: 36px clamp(34px, 4.5vw, 72px) 42px;
}

.services-details .lead {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
}

.service-list { margin-top: 34px; border-top: 1px solid rgba(23, 60, 50, 0.16); }
.service-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(23, 60, 50, 0.16);
}

.service-list article > span {
  padding-top: 4px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.service-list h2 {
  margin: 0 0 13px;
  color: var(--green);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.service-list p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

.service-points {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.services-details .contact-button {
  margin-top: 26px;
  padding-block: 14px;
}

.profile-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px clamp(30px, 5vw, 76px);
  color: rgba(244, 233, 210, 0.63);
  background: var(--green);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-footer .copyright { margin-left: 0; }

@media (max-width: 800px) {
  .page-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 32svh; padding: 40px 30px; }
  .brand-panel::before { inset: 16px; }
  .logo { width: min(62%, 285px); }
  .content-panel { min-height: auto; padding: 58px 28px 30px; }
  .home-eyebrow {
    width: calc(100% + 40px);
    margin-left: -20px;
    font-size: clamp(0.62rem, 3vw, 0.8rem);
    letter-spacing: 0.015em;
    text-align: center;
    white-space: nowrap;
  }
  .content-wrap { margin-bottom: 70px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.2rem); }
  .service-summary { line-height: 1.7; }
  .profile-page { background: var(--paper); }
  .profile-header { min-height: 90px; padding: 20px 26px; background: var(--green); }
  .mini-brand { width: 86px; }
  .back-link { color: var(--ivory); }
  .profile-main { display: block; }
  .profile-intro { padding: 60px 28px 58px; background: var(--green); }
  .profile-intro h1 { font-size: clamp(3.7rem, 17vw, 5.8rem); }
  .profile-photo-wrap { width: min(62vw, 250px); margin-bottom: 28px; }
  .profile-intro-with-photo h1 { font-size: clamp(3.4rem, 15vw, 5.2rem); }
  .profile-intro-with-photo .profile-title,
  .services-intro .profile-title { font-size: clamp(0.7rem, 3vw, 0.95rem); letter-spacing: 0; }
  .profile-details { padding: 54px 28px 70px; }
  .services-intro { padding-top: 48px; }
  .section-logo { width: min(62vw, 230px); margin-bottom: 38px; }
  .services-details { padding: 48px 28px 64px; }
  .profile-footer { flex-wrap: wrap; padding: 25px 28px; }
  .profile-footer .copyright { width: 100%; margin: 0; }
}

@media (min-width: 1100px) {
  .services-page .profile-main { grid-template-columns: 34% 66%; }
  .services-page {
    background:
      linear-gradient(90deg, var(--green) 0, var(--green) 34%, var(--paper) 34%, var(--paper) 100%);
  }
  .services-intro { padding-top: 34px; padding-bottom: 44px; }
  .services-intro h1 { font-size: clamp(3.5rem, 4.7vw, 5.6rem); }
  .service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    border-bottom: 1px solid rgba(23, 60, 50, 0.16);
  }
  .service-list article {
    display: block;
    padding: 22px 22px 24px;
    border-bottom: 0;
    border-left: 1px solid rgba(23, 60, 50, 0.16);
  }
  .service-list article:first-child { border-left: 0; padding-left: 0; }
  .service-list article:last-child { padding-right: 0; }
  .service-list article > span {
    display: block;
    padding: 0;
    margin-bottom: 12px;
  }
  .service-list h2 { font-size: 1rem; }
  .service-points { gap: 8px; }
  .service-points li { font-size: 0.9rem; line-height: 1.48; }
}

@media (max-width: 520px) {
  .home-actions { display: grid; grid-template-columns: 1fr; }
  .contact-button { width: 100%; justify-content: space-between; }
  .service-summary { display: grid; gap: 5px; }
  .service-summary span::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-button { transition: none; }
}
