:root {
  --ink: #173b35;
  --ink-deep: #0d2d28;
  --ivory: #f6f3ec;
  --paper: #fffdf9;
  --sage: #a9b9aa;
  --gold: #b99961;
  --line: rgba(23, 59, 53, .18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .8rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { height: 132px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.5rem, 5vw, 5.5rem); border-bottom: 1px solid var(--line); background: rgba(246,243,236,.94); position: absolute; z-index: 5; width: 100%; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; }
.brand-copy address { margin: 0; font: normal 16px/1.4 var(--serif); letter-spacing: .01em; color: rgba(23,59,53,.78); }

.button { border: 1px solid var(--ink); background: var(--ink); color: white; padding: 1rem 1.4rem; min-width: 155px; cursor: pointer; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: .25s ease; }
.button:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.button-small { min-width: 130px; padding: .85rem 1rem; }
.button-outline { color: var(--ink); background: transparent; }

.hero { min-height: 850px; padding: 232px clamp(1.5rem, 6vw, 6.5rem) 112px; position: relative; overflow: hidden; background: radial-gradient(circle at 78% 26%, rgba(255,255,255,.72), transparent 38%), var(--ivory); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(280px, .72fr); align-items: center; gap: clamp(2.5rem, 5vw, 5.5rem); }
.hero > * { position: relative; z-index: 1; }
.hero-content { align-self: center; }
.hero-logo { display: grid; place-items: center; align-self: center; }
.hero-logo img { display: block; width: min(100%, 440px); height: auto; object-fit: contain; }
h1, h2 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(3rem, 4.55vw, 4.75rem); line-height: 1.05; max-width: 980px; letter-spacing: -.025em; white-space: nowrap; }
.hero-title { font-size: clamp(2.15rem, 3.6vw, 3.55rem); line-height: 1.2; margin: .65rem 0 2.5rem; color: var(--gold); }
.hero-kicker { font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.5 var(--serif); max-width: 660px; margin: 0 0 1.25rem; }
.hero-copy { max-width: 760px; font-size: 17px; line-height: 1.8; color: rgba(23,59,53,.88); }
.hero-actions { margin-top: 2.3rem; display: flex; align-items: center; gap: 2rem; }
.text-link { font-size: 14px; font-weight: 600; letter-spacing: .03em; text-decoration: underline; text-underline-offset: 5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); padding: 115px clamp(1.5rem, 5vw, 5.5rem); background: var(--paper); }
.feature { position: relative; min-height: 370px; padding: 3rem clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--line); border-right: 0; }
.feature:last-child { border-right: 1px solid var(--line); }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 1.4rem 0 4.2rem; }
.feature-icon svg { width: 45px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.feature h3 { font: 400 1.9rem var(--serif); margin: 0 0 1rem; }
.feature p { margin: 0; color: rgba(23,59,53,.8); font-size: 16px; line-height: 1.7; max-width: 350px; }

.opening { background: var(--ink-deep); color: white; text-align: center; padding: 105px 1.5rem 120px; position: relative; overflow: hidden; }
.opening::before, .opening::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; width: 500px; height: 500px; top: 50%; transform: translateY(-50%); }
.opening::before { left: -360px; }.opening::after { right: -360px; }
.opening h3 { font: 400 clamp(2.1rem, 3.7vw, 3.5rem)/1.1 var(--serif); margin: 0 0 2rem; }
.opening address { font: normal 19px/1.75 var(--serif); letter-spacing: .02em; }
.opening-contact { margin: 2rem auto 2.2rem; padding: 1.7rem 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); max-width: 390px; }
.opening-contact strong { font-size: 18px; font-weight: 500; }
.opening-contact span { text-decoration: none; }
.button-light { border-color: white; background: white; color: var(--ink-deep); }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem clamp(1.5rem, 5vw, 5.5rem); background: #08241f; color: rgba(255,255,255,.5); text-transform: uppercase; font-size: 8px; letter-spacing: .15em; }

.contact-modal { width: min(860px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 25px 80px rgba(8,36,31,.3); }
.contact-modal::backdrop { background: rgba(8,36,31,.76); backdrop-filter: blur(5px); }
.contact-modal[open] { animation: modal-in .3s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(15px) scale(.98); } }
.modal-close { position: absolute; top: 1.25rem; right: 1.25rem; border: 0; background: transparent; color: var(--ink); font: 300 32px/1 var(--sans); cursor: pointer; z-index: 2; }
.modal-heading { padding: 3.5rem 4rem 2.2rem; background: var(--ivory); border-bottom: 1px solid var(--line); }
.modal-heading h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin: 0 0 .75rem; }
.modal-heading > p:last-child { margin: 0; color: rgba(23,59,53,.82); font-size: 15px; }
.embedded-form-wrap { padding: 1.5rem 2rem 2rem; }
.microsoft-form { display: block; width: 100%; height: min(640px, 68vh); border: 0; background: var(--paper); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-modal label { display: grid; gap: .55rem; margin-bottom: 1.2rem; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-modal input, .contact-modal textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(23,59,53,.3); background: transparent; color: var(--ink); border-radius: 0; padding: .65rem 0; font-size: 16px; resize: vertical; }
.contact-modal textarea { border: 1px solid rgba(23,59,53,.3); padding: .8rem; }
.privacy-note { display: grid; grid-template-columns: 28px 1fr; column-gap: .9rem; margin: .7rem 0 1.2rem; padding: 1rem 1.1rem; background: #f0eee6; font-size: 13px; line-height: 1.55; color: rgba(23,59,53,.84); }
.privacy-note svg { grid-row: span 2; width: 25px; fill: none; stroke: var(--gold); stroke-width: 1.3; }
.privacy-note strong { color: var(--ink); }
.submit-button { margin-top: .5rem; min-width: 190px; }
.form-status { display: inline-block; margin-left: 1rem; font-size: 14px; color: var(--ink); }

@media (max-width: 900px) {
  .hero { min-height: 850px; padding-top: 210px; grid-template-columns: minmax(0, 1.5fr) minmax(190px, .5fr); gap: 2rem; }
  .hero-logo img { width: min(100%, 340px); }
  h1 { font-size: clamp(2.7rem, 5.6vw, 3.8rem); }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: auto; border-right: 1px solid var(--line); border-bottom: 0; padding-bottom: 2.8rem; }
  .feature:last-child { border-bottom: 1px solid var(--line); }
  .feature-icon { margin-bottom: 2.5rem; }
}

@media (max-width: 600px) {
  .site-header { height: 112px; padding-left: 1rem; padding-right: 1rem; }
  .brand { gap: .55rem; }
  .brand-mark { width: 43px; height: 43px; flex-basis: 43px; }
  .brand-copy address { font-size: 11px; line-height: 1.35; }
  .site-header .button { min-width: 0; padding: .75rem .8rem; font-size: 9px; }
  .hero { min-height: 790px; padding-top: 174px; padding-bottom: 70px; grid-template-columns: 1fr; gap: 3.25rem; }
  .hero-logo { width: min(72vw, 310px); margin: 0 auto; }
  h1 { font-size: clamp(2rem, 9vw, 3rem); white-space: normal; }
  .hero-copy { max-width: 92%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .features { padding-bottom: 80px; }
  .feature { padding: 2.2rem 1.8rem; }
  .opening { padding-top: 80px; padding-bottom: 90px; }
  footer { flex-direction: column; text-align: center; align-items: center; }
  .modal-heading { padding: 3.5rem 1.4rem 1.8rem; }
  .embedded-form-wrap { padding: 1rem .75rem 1.25rem; }
  .microsoft-form { height: 65vh; min-height: 520px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-status { display: block; margin: .8rem 0 0; }
}

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