@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  color-scheme: light;
  --navy: #10263f;
  --navy-deep: #0b1e34;
  --blue: #1b5374;
  --cream: #fbf7ed;
  --paper: #fffdf8;
  --gold: #e6bd64;
  --gold-dark: #755116;
  --ink: #172e46;
  --muted: #435566;
  --line: #ded2b8;
  --heading: 'Playfair Display', Georgia, serif;
  font-family: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.65; }
a { color: inherit; }
:focus-visible { outline: 3px solid #2c7ba0; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .5rem; background: white; z-index: 5; }
.skip:focus { top: 1rem; }
.wrap { width: min(1120px, 88%); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { display: block; width: 3.65rem; height: 3.65rem; object-fit: contain; }
.wordmark { font: 600 .83rem/1.16 var(--heading); letter-spacing: .06em; text-transform: uppercase; }
.wordmark strong { display: block; font-size: 1.44rem; font-weight: 600; letter-spacing: .09em; color: var(--blue); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); font-size: .94rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-contact, .button { display: inline-flex; align-items: center; gap: .65rem; border: 0; border-radius: 100px; color: var(--navy-deep); background: var(--gold); padding: .72rem 1.09rem; text-decoration: none; }
.button { padding: .92rem 1.35rem; font: 700 .93rem/1.2 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.button:hover, .nav-contact:hover { background: #f1cf85; }
.hero { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(135deg, #102b48, var(--navy-deep) 70%); color: var(--cream); min-height: 565px; }
.hero-content { position: relative; z-index: 1; align-self: center; padding: 4rem 1.5rem 4.5rem max(12%, calc((100vw - 1120px) / 2)); }
.eyebrow { margin: 0 0 1rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; margin: 0; }
h1 { font-size: clamp(3rem, 5.65vw, 6.05rem); line-height: 1.02; letter-spacing: -.05em; }
h1 em { color: #f3ce7a; font-weight: 500; }
.hero p:not(.eyebrow) { max-width: 30rem; color: #e3edf5; margin: 1.5rem 0 1.8rem; }
.hero-art { min-height: 260px; background: linear-gradient(90deg, #0d243c 0%, #0c203536 30%, transparent 70%), url('/hero.jpg') center / cover; }
.services, .contact { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.services > .eyebrow, .services > h2 { text-align: center; }
h2 { font-size: clamp(2.05rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.029em; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
.card { display: flex; flex-direction: column; align-items: flex-start; background: linear-gradient(165deg, #fffdf8, #f6ecd6); border: 1px solid var(--line); border-radius: 1.05rem; padding: clamp(1.5rem, 3.5vw, 2.65rem); box-shadow: 0 10px 24px #503a1310; }
.card h3 { font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.1; }
.icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid #cba54f; background: var(--navy); border-radius: 50%; color: var(--gold); margin-bottom: 1.1rem; font-size: 1.65rem; }
.card .service-label { margin: .9rem 0 0; background: #f2d797; color: #39290c; padding: .25rem .77rem; border-radius: 100px; font-size: .82rem; font-weight: 700; }
.card p, .card ul, .contact p:not(.eyebrow) { color: var(--muted); }
.card ul { width: 100%; padding: .8rem 0 0 1.2rem; margin: 0 0 1.25rem; border-top: 1px solid var(--line); }
.card li::marker { color: var(--blue); }
.card a { margin-top: auto; color: #174968; font-weight: 700; text-underline-offset: .24em; }
.about { background: #dceaf2; }
.about-inner, .contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.4rem, 5vw, 4.5rem); }
.about-inner { padding-block: clamp(3rem, 6vw, 5.2rem); grid-template-columns: minmax(210px, 335px) minmax(0, 1fr); align-items: start; }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 36%; border-radius: 1rem; box-shadow: 0 15px 35px #10263f24; }
.bio p:not(.eyebrow), .credentials { color: var(--muted); }
.bio h3 { font-size: 1.27rem; margin-top: 1.4rem; }
.credentials { padding-left: 1.2rem; }
.credentials li + li { margin-top: .35rem; }
form { background: var(--paper); padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 1rem; }
input, select { display: block; width: 100%; margin-top: .35rem; border: 1px solid #aeb8be; border-radius: .4rem; background: white; color: var(--ink); min-height: 2.75rem; padding: .55rem; font: inherit; font-weight: 400; }
.footer { border-top: 1px solid var(--line); }
.confirm { display: grid; align-content: center; min-height: 75vh; padding-block: 3rem; }
.confirm .button { justify-self: start; }
@media (max-width: 860px) {
  .hero, .about-inner, .contact { grid-template-columns: 1fr; }
  .hero-content { padding: 3.3rem 6%; }
  .hero-art { background-image: linear-gradient(180deg, #0c24374d, transparent 35%), url('/hero.jpg'); }
  .portrait { max-width: 330px; }
}
@media (max-width: 560px) {
  .header, .footer { flex-wrap: wrap; }
  nav { width: 100%; justify-content: space-between; }
  h1 { font-size: clamp(2.5rem, 10vw, 3.55rem); }
  .cards, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
}

.preview-note { background: #f4e4b8; border-block: 1px solid #ddc67f; color: var(--navy); }
.preview-note .wrap { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; padding-block: .65rem; font-size: .88rem; }
.preview-note a { margin-inline-start: auto; font-weight: 700; text-underline-offset: .2em; }
.preview-form-note { font-weight: 700; font-size: .88rem; margin-bottom: 1rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset:disabled button { cursor: default; opacity: .65; }
@media (max-width: 640px) {
  .preview-note a { margin-inline-start: 0; }
}
