:root {
  --navy: #082a5f;
  --ink: #10233e;
  --taupe: #8d8579;
  --cream: #f6f1e8;
  --warm: #ece8df;
  --paper: #fffdf8;
  --sand: #ede5d8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --page-pad: 6vw;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
}
img { max-width: 100%; }
.personal { font-family: var(--serif); font-style: italic; font-weight: 400; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--taupe);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
}
.text-cta,
.nav a {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
}
.text-cta,
.nav-cta { border-bottom: 1px solid var(--taupe); padding-bottom: 5px; }

/* Header and footer */
.nav {
  min-height: 96px;
  padding: 12px 4vw;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid rgba(8, 42, 95, .1);
}
.brand { display: flex; color: inherit; line-height: .9; text-decoration: none; }
.brand-logo { width: 260px; max-width: 260px; flex: 0 0 260px; align-items: center; }
.brand-logo img,
.footer-brand-logo { display: block; width: 260px; max-width: none; height: auto; }
.nav nav { display: flex; align-items: center; gap: 30px; }
.menu-toggle { display: none; }
footer {
  padding: 45px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--cream);
  color: var(--navy);
  border-top: 1px solid rgba(8, 42, 95, .1);
}
.footer-brand-logo { filter: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; max-width: 620px; }
.footer-nav a { color: inherit; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.footer-nav a:hover { border-bottom: 1px solid var(--taupe); }
footer p { margin: 0; font-size: 14px; opacity: .75; }
.designed-by { font-size: 11px; letter-spacing: .08em; }
.designed-by a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(8, 42, 95, .35); }

/* Homepage structure */
.section { padding: 110px var(--page-pad); }
.section h2,
.inquiry h1,
.policies h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.hero {
  min-height: calc(100vh - 96px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--warm);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,241,232,.99) 0%, rgba(246,241,232,.9) 42%, rgba(246,241,232,.18) 68%, rgba(246,241,232,0) 100%); }
.hero-copy { width: 56%; max-width: 780px; padding: 7vh 0 7vh 6vw; position: relative; z-index: 2; }
.hero .eyebrow { color: var(--navy); font-weight: 700; }
.hero h1 { margin: 0; max-width: 760px; font: 400 clamp(48px, 5.1vw, 76px)/1.01 var(--serif); letter-spacing: -.025em; }
.hero .lede { max-width: 680px; margin: 30px 0 36px; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }

.outcomes-section { background: var(--paper); }
.outcomes-section h2 { max-width: 900px; }
.outcome-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.outcome-grid article { padding-top: 28px; border-top: 1px solid rgba(8,42,95,.22); }
.outcome-grid span { color: var(--taupe); font: 400 18px/1 var(--serif); }
.outcome-grid h3 { margin: 24px 0 14px; font: 400 28px/1.1 var(--serif); }
.outcome-grid p { margin: 0; }

.services-section { background: var(--sand); }
.services-section > h2 { max-width: 1150px; margin-bottom: 62px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.offer-card {
  padding: 50px 48px 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 253, 248, .86);
  border: 1px solid rgba(141, 133, 121, .45);
}
.offer-card:target { outline: 2px solid var(--taupe); outline-offset: 5px; }
.offer-card h3 { margin: 0 0 28px; font: 400 36px/1.1 var(--serif); }
.offer-card p { margin: 0 0 20px; }
.offer-quote { width: 100%; margin: 15px 0 34px; padding-top: 28px; border-top: 1px solid rgba(141, 133, 121, .45); }
.offer-quote span { display: block; margin-bottom: 13px; color: var(--taupe); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.offer-quote p { margin: 0; color: var(--taupe); font-size: 16px; }
.offer-card .text-cta { margin-top: auto; }
.scope-note { max-width: 980px; margin: 34px 0 0; color: var(--taupe); font-size: 15px; }

.included-section { background: var(--navy); color: var(--cream); }
.included-section .eyebrow { color: #c8bcab; }
.included-section h2 { width: 100%; max-width: none; white-space: nowrap; }
.included-grid { margin-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(246,241,232,.25); border-left: 1px solid rgba(246,241,232,.25); }
.included-grid article { min-height: 210px; padding: 34px; border-right: 1px solid rgba(246,241,232,.25); border-bottom: 1px solid rgba(246,241,232,.25); }
.included-grid h3 { margin: 0 0 18px; font: 400 24px/1.15 var(--serif); }
.included-grid p { margin: 0; color: #ded6ca; font-size: 17px; }

.process-section { background: var(--sand); }
.process-section > h2 { max-width: 1050px; margin-bottom: 54px; }
.steps { border-top: 1px solid rgba(8, 42, 95, .22); }
.steps article {
  padding: 42px 0;
  display: grid;
  grid-template-columns: 90px 270px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  border-bottom: 1px solid rgba(8, 42, 95, .17);
}
.steps b { color: var(--taupe); font: 400 23px/1.2 var(--serif); }
.steps h3 { margin: 0; font: 400 23px/1.05 var(--serif); }
.steps p { max-width: 900px; margin: 0 0 18px; }
.steps p:last-child { margin-bottom: 0; }

.work-section { background: var(--paper); }
.work-lede { max-width: 1050px; margin: 0 0 72px; font: 400 46px/1.05 var(--serif); letter-spacing: -.025em; }
.project { margin: 0 0 105px; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, .6fr); gap: 5vw; align-items: center; }
.project.reverse { grid-template-columns: minmax(280px, .6fr) minmax(0, 1.85fr); }
.project.reverse .site-preview { order: 2; }
.project:last-of-type { margin-bottom: 0; }
.project h3 { margin: 0 0 22px; font: 400 30px/1.12 var(--serif); }
.project-meta > p:not(.project-status) { margin: 0 0 28px; font-size: 17px; }
.project-status { margin: 0 0 14px; color: var(--taupe); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.project h3 span { font-size: .72em; font-style: italic; }
.site-preview { width: 100%; height: 420px; position: relative; overflow: hidden; display: block; background: #fff; border: 8px solid #fff; box-shadow: 0 25px 70px rgba(8, 42, 95, .12); cursor: zoom-in; }
.site-preview iframe { width: 1440px; height: 680px; position: absolute; top: 0; left: 0; border: 0; transform-origin: top left; pointer-events: none; }
.site-preview::after { content: "EXPLORE THE WEBSITE →"; position: absolute; right: 18px; bottom: 18px; z-index: 3; padding: 10px 14px; background: rgba(8,42,95,.94); color: var(--cream); font: 700 10px/1 var(--sans); letter-spacing: .12em; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.site-preview:hover::after,
.site-preview:focus-within::after { opacity: 1; transform: none; }
.preview-scrollable { cursor: default; }
.preview-scrollable iframe { pointer-events: auto; }
.preview-scrollable::after { content: "SCROLL TO EXPLORE ↓"; }

.care-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8vw; align-items: center; background: var(--warm); }
.care-section h2 { margin-bottom: 30px; }
.care-section > div:first-child > p:not(.eyebrow) { max-width: 620px; }
.care-card { padding: 50px; background: var(--navy); color: var(--cream); }
.care-card .eyebrow { color: #c8bcab; }
.care-price { margin: 0 0 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(246,241,232,.25); font-size: 18px; }
.care-price strong { font: 400 38px/1 var(--serif); }
.care-card ul { margin: 25px 0; padding-left: 21px; }
.care-card li { margin-bottom: 10px; }
.care-card small { display: block; margin: 28px 0; color: #d8d0c5; font-size: 13px; line-height: 1.55; }
.care-card .text-cta { color: var(--cream); }

.fit-section { background: var(--paper); }
.fit-section h2 { width: 100%; max-width: none; white-space: nowrap; }
.fit-grid { margin-top: 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.fit-grid > div { padding: 38px 40px; border: 1px solid rgba(141,133,121,.45); }
.fit-grid h3 { margin: 0 0 18px; font: 400 27px/1.15 var(--serif); }
.fit-grid p { margin: 0; }

.faq-section { background: var(--sand); }
.faq-section h2 { max-width: 900px; }
.faq-list { max-width: 1050px; margin-top: 58px; border-top: 1px solid rgba(8,42,95,.22); }
.faq-list details { border-bottom: 1px solid rgba(8,42,95,.22); }
.faq-list summary { padding: 28px 48px 28px 0; position: relative; list-style: none; cursor: pointer; font: 400 24px/1.2 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 27px; font: 400 25px/1 var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 880px; margin: -5px 0 30px; }

.about-section { padding-top: 0; padding-bottom: 0; padding-left: 0; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: stretch; }
.about-grid > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.about-grid > div { padding: 105px var(--page-pad) 105px 0; }
.about-hi { margin-bottom: 18px !important; color: var(--taupe); font-size: 32px !important; font-style: italic; }
.about-copy { margin-top: 34px; }

.closing-section { padding-top: 125px; padding-bottom: 135px; text-align: center; background: var(--navy); color: var(--cream); }
.closing-section .eyebrow { color: #c8bcab; }
.closing-section h2 { max-width: 1050px; margin: 0 auto 34px; }
.closing-section > p:not(.eyebrow) { max-width: 820px; margin: 0 auto 15px; }
.final-cta { display: inline-block; margin-top: 44px; color: var(--cream); font: 400 40px/1.1 var(--serif); text-decoration: none; border-bottom: 2px solid var(--taupe); }

/* Website previews */
.portfolio-modal[hidden] { display: none; }
.portfolio-modal { position: fixed; inset: 0; z-index: 1000; padding: 3vh 3vw; display: flex; align-items: center; justify-content: center; background: rgba(8,42,95,.88); }
.portfolio-modal-shell { width: min(1500px, 94vw); height: 94vh; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.portfolio-modal-bar { min-height: 58px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--cream); border-bottom: 1px solid rgba(8,42,95,.12); }
.portfolio-modal-title { margin: 0; font: 400 18px/1.2 var(--serif); }
.portfolio-modal-close { padding: 14px 0; border: 0; background: transparent; color: var(--navy); font: 700 11px/1 var(--sans); letter-spacing: .12em; cursor: pointer; }
.portfolio-modal iframe { width: 100%; height: 100%; flex: 1; border: 0; background: #fff; }
.portfolio-modal-open { overflow: hidden; }

/* Inquiry and feedback forms */
.inquiry { max-width: 1100px; margin: 0 auto; padding: 100px 6vw 130px; }
.inquiry h1 { font-size: 46px; }
.inquiry-intro { max-width: 800px; margin: 35px 0 70px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.inquiry-form > label { display: flex; flex-direction: column; gap: 12px; font: 400 20px/1.3 var(--serif); }
.inquiry-form > label:nth-of-type(n+3),
.inquiry-form > fieldset,
.inquiry-form > button,
.inquiry-form > .form-note { grid-column: 1 / -1; }
.inquiry-form input,
.inquiry-form textarea { width: 100%; padding: 16px; border: 0; border-bottom: 1px solid var(--taupe); border-radius: 0; background: rgba(255,255,255,.4); color: var(--navy); font: 400 17px/1.5 var(--sans); }
.inquiry-form textarea { border: 1px solid rgba(141,133,121,.55); resize: vertical; }
.inquiry-form button { justify-self: start; padding: 8px 0; border: 0; border-bottom: 2px solid var(--taupe); background: transparent; color: var(--navy); font: 700 23px/1.1 var(--serif); cursor: pointer; }
.optional { color: var(--taupe); font: 400 13px/1.2 var(--sans); }
.form-note { color: var(--taupe); font-size: 14px; }
.hp-field { width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; overflow: hidden !important; }
.service-choice,
.feedback-consent { margin: 0; padding: 28px 30px 18px; min-width: 0; border: 1px solid rgba(141,133,121,.55); }
.service-choice legend,
.feedback-consent legend { padding: 0 10px; font: 400 20px/1.3 var(--serif); }
.service-choice label,
.feedback-consent label { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; margin: 0 0 14px; font: 400 17px/1.5 var(--sans); }
.service-choice input[type="radio"],
.feedback-consent input[type="radio"] { width: 18px; min-width: 18px; height: 18px; flex: 0 0 18px; margin: 4px 0 0; padding: 0; accent-color: var(--navy); }
.form-status { display: none; margin: 0 0 34px; padding: 18px 20px; border: 1px solid var(--taupe); font-family: var(--serif); }
.form-status.success,
.form-status.error { display: block; }
.form-status.success { background: rgba(255,255,255,.4); }
.form-status.error { background: rgba(141,133,121,.12); }
.form-status.thank-you-only { max-width: 760px; margin: 40px 0 180px; padding: 0; border: 0; background: transparent; color: var(--taupe); font-size: 20px; font-style: italic; line-height: 1.3; }
.feedback-main { max-width: 800px; }
.feedback-form button:disabled { opacity: .45; cursor: not-allowed; }
.feedback-privacy { line-height: 1.6; }

/* Policy pages */
.policies { max-width: 1100px; min-height: 62vh; margin: 0 auto; padding: 100px 6vw 130px; }
.policy-links { max-width: 760px; margin-top: 55px; border-top: 1px solid rgba(141,133,121,.55); }
.policy-links a { padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--navy); border-bottom: 1px solid rgba(141,133,121,.55); font: 400 27px/1.15 var(--serif); text-decoration: none; }
.policy-links a span:last-child { font: 400 20px/1 var(--sans); }
.policy-single { max-width: 960px; padding-top: 72px; }
.policy-back { display: inline-block; margin-bottom: 40px; padding-bottom: 6px; color: var(--navy); border-bottom: 1px solid var(--taupe); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-decoration: none; }
.policy_embed_div { max-width: 100%; overflow-wrap: anywhere; color: var(--ink) !important; font: 400 14px/1.55 var(--sans) !important; }
.policy_embed_div * { font-size: inherit; line-height: inherit; }
.policy_embed_div h1 { font-size: 30px !important; line-height: 1.15 !important; }
.policy_embed_div h2 { font-size: 23px !important; line-height: 1.2 !important; }
.policy_embed_div h3 { font-size: 18px !important; line-height: 1.3 !important; }
.policy_embed_div h4,
.policy_embed_div h5,
.policy_embed_div h6 { font-size: 16px !important; line-height: 1.35 !important; }
.policy_embed_div a { color: var(--navy); }

@media (max-width: 850px) {
  body { font-size: 16px; }
  .section { padding: 78px 7vw; }
  .section h2,
  .inquiry h1,
  .policies h1 { font-size: 36px; }

  .nav { min-height: 78px; height: 78px; padding: 0 7vw; }
  .brand-logo { width: 213px; max-width: 213px; height: 78px; flex-basis: 213px; }
  .brand-logo img { width: 213px; }
  .menu-toggle { width: 36px; height: 78px; padding: 0; position: relative; z-index: 32; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 27px; height: 2px; display: block; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; padding: 24px 7vw 28px; display: none; flex-direction: column; align-items: flex-start; gap: 20px; background: var(--cream); border-top: 1px solid rgba(8,42,95,.1); border-bottom: 1px solid rgba(8,42,95,.1); box-shadow: 0 12px 30px rgba(8,42,95,.08); }
  .mobile-menu-open .nav nav { display: flex; }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .footer-brand-logo { width: min(260px, 70vw); }

  .hero { min-height: 820px; align-items: flex-start; }
  .hero > img { object-position: 64% 20%; }
  .hero::after { background: linear-gradient(90deg, rgba(246,241,232,.98) 0%, rgba(246,241,232,.94) 48%, rgba(246,241,232,.55) 67%, rgba(246,241,232,.06) 88%); }
  .hero-copy { width: 68%; max-width: none; padding: 72px 0 60px 7vw; }
  .hero h1 { width: 100%; max-width: 390px; font-size: 42px; line-height: 1.04; }
  .hero .lede { width: 100%; max-width: 360px; font-size: 16px; line-height: 1.5; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }

  .outcome-grid,
  .offer-grid,
  .included-grid,
  .care-section,
  .fit-grid { grid-template-columns: 1fr; }
  .outcome-grid { gap: 42px; }
  .included-grid { border-left: 0; }
  .included-section h2,
  .fit-section h2 { white-space: normal; }
  .included-grid article { min-height: 0; padding: 28px 0; border-right: 0; }
  .services-section > h2 { margin-bottom: 42px; }
  .offer-card { padding: 38px 28px 42px; }
  .offer-card h3 { font-size: 30px; }

  .steps article { grid-template-columns: 55px minmax(0, 1fr); gap: 18px; }
  .steps article > div { grid-column: 2; }
  .steps h3 { font-size: 22px; }

  .work-lede { margin-bottom: 42px; font-size: 36px; }
  .project,
  .project.reverse { margin: 0 0 58px; grid-template-columns: 1fr; gap: 30px; }
  .project.reverse .site-preview { order: 0; }
  .site-preview { height: auto; min-height: 0; }
  .site-preview::after { right: 10px; bottom: 10px; padding: 9px 11px; font-size: 9px; opacity: 1; transform: none; }

  .care-section { gap: 44px; }
  .care-card { padding: 38px 28px; }

  .about-section { padding: 78px 7vw; }
  .about-grid { display: flex; flex-direction: column; gap: 46px; }
  .about-grid > div { order: 1; padding: 0; }
  .about-grid > img { order: 2; height: auto; object-fit: contain; }
  .closing-section .final-cta { font-size: 24px; white-space: normal; }

  .portfolio-modal { padding: 0; }
  .portfolio-modal-shell { width: 100vw; height: 100dvh; }
  .portfolio-modal-title { font-size: 15px; }

  .inquiry { padding: 75px 7vw; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form > label { grid-column: 1 / -1; }
  .service-choice,
  .feedback-consent { padding: 24px 20px 12px; }
  .form-status.thank-you-only { margin: 30px 0 120px; font-size: 18px; }

  .policies { padding: 75px 7vw; }
  .policy-links a { padding: 23px 0; font-size: 23px; }
  .policy-single { padding-top: 55px; }
  .policy_embed_div { font-size: 13px !important; }
}

@media (max-width: 560px) {
  .hero-copy { width: 76%; padding-top: 58px; }
  .hero h1 { font-size: 38px; }
  .hero .eyebrow { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
