@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&display=swap");

:root {
  --ink: #173f3a;
  --ink-deep: #10332f;
  --paper: #f7f4ed;
  --cream: #efeadf;
  --white: #fffdf8;
  --coral: #e36f4c;
  --sage: #809b89;
  --sand: #d9c7a6;
  --sky: #abc9ca;
  --line: rgba(23, 63, 58, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(23, 63, 58, 0.05);
}

.header-inner {
  width: min(1360px, calc(100% - 64px));
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-mark {
  width: 44px;
  height: 44px;
  padding: 3px;
  display: block;
  background: var(--paper);
  border: 1px solid rgba(23, 63, 58, 0.16);
  border-radius: 50%;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  gap: 4px;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.18em;
}

.brand-copy small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.7vw, 44px);
  font-size: 13px;
  font-weight: 600;
}

.main-navigation a {
  position: relative;
}

.main-navigation a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  width: min(1440px, 100%);
  min-height: calc(100svh - 90px);
  margin: 0 auto;
  padding: 5vw max(7vw, 40px) 7vw;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 2%;
  left: 3%;
  width: 26vw;
  height: 26vw;
  max-width: 380px;
  max-height: 380px;
  border: 1px solid rgba(23, 63, 58, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

h1 {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(64px, 7.2vw, 114px);
}

h1 em {
  color: var(--coral);
  font-weight: 400;
}

.hero-intro {
  max-width: 540px;
  margin-bottom: 34px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.text-link {
  font-size: 13px;
  font-weight: 600;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
  color: var(--coral);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.hero-visual {
  position: relative;
  min-height: min(640px, 67vw);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 7%;
  width: 93%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
  border-radius: 48% 48% 8px 8px / 28% 28% 8px 8px;
}

.hero-note {
  position: absolute;
  right: -28px;
  bottom: 9%;
  width: 190px;
  height: 190px;
  display: grid;
  place-content: center;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  transform: rotate(4deg);
}

.hero-note p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.note-icon {
  font-size: 24px;
}

.hero-side-note {
  position: absolute;
  right: 15px;
  top: 42%;
  margin: 0;
  color: rgba(23, 63, 58, 0.5);
  font-size: 9px;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
}

.section {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(100px, 11vw, 170px) max(7vw, 40px);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  border-top: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.life h2,
.contact h2 {
  font-size: clamp(54px, 6vw, 92px);
}

.intro-copy {
  padding-top: 42px;
}

.intro-copy p {
  max-width: 630px;
}

.intro-copy .lead {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 32px);
  line-height: 1.35;
}

.signature {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--coral);
  font-family: var(--serif);
  font-style: italic;
}

.signature span {
  width: 44px;
  height: 1px;
  background: currentColor;
}

.signature p {
  margin: 0;
}

.life {
  max-width: none;
  background: var(--ink);
  color: var(--white);
}

.life-header {
  width: min(1240px, 100%);
  margin: 0 auto clamp(70px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
}

.eyebrow-light {
  color: #f19a7e;
}

.life-header > p {
  max-width: 460px;
  margin-bottom: 10px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 18px;
}

.features {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.feature {
  position: relative;
  min-height: 340px;
  padding: 38px 42px 20px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.feature + .feature {
  padding-left: 42px;
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 22px 0 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #f19a7e;
  font-size: 28px;
}

.feature h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}

.feature p {
  max-width: 310px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 14px;
}

.section-heading {
  margin-bottom: clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1.15fr 0.55fr;
  gap: 80px;
  align-items: end;
}

.section-heading > p {
  max-width: 470px;
  margin-bottom: 10px;
  color: rgba(23, 63, 58, 0.7);
}

.gallery {
  padding-top: clamp(100px, 11vw, 170px);
}

.gallery-heading {
  margin-bottom: 55px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, 10vw);
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  grid-column: span 5;
  grid-row: span 3;
  min-height: 320px;
  overflow: hidden;
}

.gallery-large {
  grid-column: span 7;
  grid-row: span 4;
}

.gallery-wide {
  grid-column: span 7;
  grid-row: span 3;
}

.gallery-portrait {
  grid-column: span 5;
  grid-row: span 5;
}

.gallery-building {
  grid-column: span 12;
  grid-row: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  padding: 38px 16px 14px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(16, 51, 47, 0.78));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact {
  max-width: none;
  padding-bottom: 0;
}

.contact-card {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 9vw, 140px);
  background: var(--coral);
  color: var(--white);
  border-radius: 320px 320px 0 0 / 120px 120px 0 0;
}

.contact-intro > p:last-child {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  padding-top: 28px;
}

.contact-row {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 0.55fr 1.25fr auto;
  gap: 24px;
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-row p {
  margin-bottom: 0;
}

.contact-row small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
}

.phone-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}

.phone-pair p {
  display: grid;
  gap: 3px;
}

.phone-pair a {
  white-space: nowrap;
}

.contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-row > a {
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-row p a:hover {
  text-decoration: underline;
}

.site-footer {
  max-width: none;
  padding: 58px max(7vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--ink-deep);
  color: rgba(255, 253, 248, 0.75);
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.28);
}

.site-footer > p {
  margin: 0;
  font-size: 11px;
}

.back-to-top {
  justify-self: end;
  font-size: 11px;
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .header-inner {
    width: min(100% - 40px, 1360px);
  }

  .menu-button {
    display: block;
    cursor: pointer;
  }

  .main-navigation {
    position: absolute;
    top: 90px;
    right: 20px;
    left: 20px;
    padding: 26px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(23, 63, 58, 0.12);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    padding: 13px 0;
  }

  .nav-contact {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: 86%;
    min-height: 640px;
    margin-left: auto;
  }

  .intro {
    grid-template-columns: 1fr 1fr;
  }

  .intro-copy {
    grid-column: auto;
    padding-top: 0;
  }

  .life-header,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature + .feature {
    min-height: auto;
    padding: 36px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .feature-icon {
    margin: 8px 0 28px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    border-radius: 200px 200px 0 0 / 80px 80px 0 0;
  }

  .contact-details {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .header-inner {
    height: 76px;
  }

  .main-navigation {
    top: 76px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .hero,
  .section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(56px, 17vw, 78px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    width: 94%;
    min-height: 440px;
  }

  .hero-image {
    left: 0;
    width: 100%;
  }

  .hero-note {
    right: -22px;
    width: 145px;
    height: 145px;
  }

  .hero-note p {
    font-size: 10px;
  }

  .hero-side-note {
    display: none;
  }

  .intro {
    display: block;
  }

  .intro-copy {
    padding-top: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-large,
  .gallery-wide,
  .gallery-portrait,
  .gallery-building {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .gallery-portrait {
    aspect-ratio: 3 / 4;
  }

  .contact {
    padding-right: 0;
    padding-left: 0;
  }

  .contact-card {
    padding: 80px 25px 70px;
    grid-template-columns: 1fr;
    border-radius: 120px 120px 0 0 / 50px 50px 0 0;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .phone-pair {
    margin: 8px 0 6px;
  }

  .site-footer {
    padding: 48px 22px;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand,
  .back-to-top {
    justify-self: center;
  }
}

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