/* Historic Ranch — shared styles for the static website. */
:root {
  color-scheme: light;
  --pine: #243b31;
  --pine-deep: #1d3028;
  --ink: #25372f;
  --body: #414b43;
  --muted: #586257;
  --clay: #85573f;
  --paper: #fbfaf6;
  --linen: #f1efe7;
  --line: #d2d2c5;
  --pale-line: #626f5f;
  --light: #faf8ef;
  --serif: "Iowan Old Style", "Baskerville", "Baskerville Old Face", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.35rem, 5.6vw, 6.5rem);
  --section-space: clamp(4rem, 7.8vw, 7.6rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-family: var(--sans); }
button, input, select, textarea { font-size: 1rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: inherit; font-family: var(--serif); font-weight: 400; }
h1, h2, h3, a { overflow-wrap: break-word; }
h1 { font-size: clamp(3.65rem, 6.5vw, 7rem); letter-spacing: -.052em; line-height: 1.025; }
h2 { font-size: clamp(2.65rem, 4.85vw, 5.1rem); letter-spacing: -.047em; line-height: 1.055; }
h3 { font-size: clamp(1.85rem, 2.5vw, 2.55rem); letter-spacing: -.034em; line-height: 1.14; }
h1 em, h2 em { font-family: "Iowan Old Style", Baskerville, "Palatino Linotype", Georgia, serif; font-weight: 400; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .27em; text-decoration-thickness: 1px; }
a, button, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #a65732; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible, .approach-feature :focus-visible { outline-color: #fff2c6; }
main:focus { outline: none; }
::selection { background: #c6d4bb; color: #192d22; }
.shell { width: min(100% - 2 * var(--gutter), 82rem); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: .5rem; padding: .65rem 1rem; background: white; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; background: var(--paper); border-bottom: 1px solid #deded3; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: clamp(4.8rem, 6.1vw, 6.3rem); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--pine); flex: 0 0 auto; }
.brand-mark { width: clamp(2.55rem, 3.3vw, 3.15rem); height: auto; }
.brand-words { display: grid; gap: .26rem; padding-left: .85rem; border-left: 1px solid #9b9d8d; }
.brand-name { font: 400 clamp(1.2rem, 1.55vw, 1.55rem)/1.05 var(--serif); letter-spacing: .096em; text-transform: uppercase; white-space: nowrap; }
.brand-type { font: 600 .64rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.55rem, 2.65vw, 3.2rem); }
.nav-link, .nav-inquire { text-decoration: none; font-weight: 550; font-size: .935rem; }
.nav-link { display: flex; align-items: center; min-height: 2.8rem; position: relative; }
.nav-link::after { content: ""; position: absolute; bottom: .5rem; left: 0; right: 0; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-link:is(:hover, [aria-current], .active)::after { transform: scaleX(1); }
.nav-inquire { display: inline-flex; align-items: center; min-height: 2.8rem; padding: .5rem 1.25rem; border: 1px solid #758074; transition: color .18s, background .18s, border-color .18s; }
.nav-inquire:is(:hover, [aria-current]) { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.mobile-menu { display: none; }
.eyebrow { display: flex; align-items: center; gap: .82rem; font-family: var(--sans); font-size: .8rem; line-height: 1.4; letter-spacing: .17em; font-weight: 650; text-transform: uppercase; color: var(--clay); }
.eyebrow > span { width: 2.4rem; height: 1px; flex-shrink: 0; background: currentColor; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 1.15rem; }
.button { appearance: none; display: inline-flex; justify-content: center; align-items: center; align-self: flex-start; min-height: 3.1rem; padding: .76rem 1.48rem; background: var(--pine); border: 1px solid var(--pine); border-radius: 0; color: #fffdf5; font: 600 .94rem/1.45 var(--sans); cursor: pointer; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
.button:hover { background: #354e3f; border-color: #354e3f; }
.button-light { color: var(--pine-deep); background: #f7f3e7; border-color: #f7f3e7; }
.button-light:hover { color: var(--pine-deep); background: #fff; border-color: #fff; }
.text-link, .hero-secondary, .text-button { display: inline-block; align-self: flex-start; width: fit-content; border: 0; border-bottom: 1px solid #92745f; color: var(--pine); text-decoration: none; padding: .13rem 0 .24rem; font: 600 .95rem/1.4 var(--sans); transition: color .15s, border-color .15s; }
.text-link:hover, .text-button:hover, .card-link:hover .text-link { color: var(--clay); border-color: var(--clay); }
.hero { color: white; position: relative; isolation: isolate; background: #334337; overflow: hidden; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: 57% 56%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(8,21,14,.79) 0%, rgba(11,22,15,.61) 26%, rgba(11,22,16,.19) 54%, rgba(11,22,16,0) 77%), linear-gradient(0deg, rgba(10,20,13,.24), transparent 46%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(33.5rem, 45vw, 44.5rem); padding-block: clamp(4.75rem, 7vw, 7.5rem); }
.hero-copy { max-width: 45rem; }
.hero .eyebrow { color: #fff6de; text-shadow: 0 1px 3px #223023; }
.hero .eyebrow > span { background: #e0bf8f; }
.hero h1 { font-size: clamp(4.8rem, 7.6vw, 8.2rem); line-height: .99; letter-spacing: -.053em; color: #fffdf6; margin: 1.5rem 0 1.4rem; }
.hero-copy > p:not(.eyebrow) { max-width: 28.5rem; font-size: clamp(1.04rem, 1.25vw, 1.2rem); line-height: 1.55; color: #fffdf4; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; flex-wrap: wrap; margin-top: 2.05rem; }
.hero-secondary { align-self: center; color: #fffdf6; border-color: rgba(255,253,240,.72); }
.hero-secondary:hover { color: #efe0bd; border-color: #efe0bd; }
.section-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: clamp(2rem, 3vw, 3rem); }
.section-heading > p { max-width: 23rem; padding-bottom: .18rem; font-size: 1.055rem; color: var(--body); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.25rem, 2.5vw, 2.7rem); }
.service-card, .card-link { min-width: 0; }
.card-link { display: flex; flex-direction: column; height: 100%; align-items: flex-start; text-decoration: none; }
.card-photo { overflow: hidden; width: 100%; aspect-ratio: 1.57; background: #e6e2d6; margin-bottom: 1.35rem; }
.card-photo img, .feature-photo img, .coast-photo img, .detail-image img, .editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo img { transition: transform .45s ease; }
.card-link:hover .card-photo img { transform: scale(1.035); }
.card-link p { margin: .7rem 0 1.05rem; color: var(--body); max-width: 24rem; }
.card-link .text-link { margin-top: auto; }
.approach-feature { background: var(--pine); color: var(--light); padding-block: clamp(3.1rem, 5.6vw, 6.15rem); }
.approach-feature-inner, .coast-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 7.8vw, 8rem); }
.feature-photo { aspect-ratio: 1.45; overflow: hidden; }
.feature-photo img { object-position: 50% 63%; }
.feature-copy { max-width: 32rem; }
.feature-copy .eyebrow { color: #e8d3b1; }
.feature-copy > p:not(.eyebrow), .coast-copy > p:not(.eyebrow) { margin: 1.3rem 0 1.6rem; font-size: 1.08rem; max-width: 31.5rem; }
.feature-copy > p:not(.eyebrow) { color: #e7e9dc; }
.light-link { color: var(--light); border-color: #c3af89; }
.light-link:hover { color: #f0d5a4; border-color: #f0d5a4; }
.coast-photo { aspect-ratio: 1.55; overflow: hidden; }
.coast-photo img { object-position: 50% 46%; }
.coast-copy > p:not(.eyebrow) { color: var(--body); }
.next-section { padding-block: clamp(2.75rem, 4.5vw, 4.7rem); background: var(--linen); border-top: 1px solid var(--line); }
.next-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.next-inner h2 { font-size: clamp(2.2rem, 3.5vw, 3.7rem); }
.next-inner p { margin-top: .55rem; color: var(--body); }
.next-inner .button { flex-shrink: 0; align-self: center; }
.site-footer { background: var(--pine-deep); color: var(--light); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr .8fr; gap: 3.2rem; padding-block: 3.5rem 3rem; }
.site-footer .brand { color: var(--light); }
.site-footer .brand-words { border-color: #728071; }
.footer-location { font-size: .96rem; margin-top: 1.3rem; color: #d5d9cd; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; align-items: baseline; margin-top: .55rem; }
.footer-contact a { font-size: .94rem; color: #f0f1e8; overflow-wrap: anywhere; text-decoration-color: #889286; }
.footer-contact a:hover { text-decoration-color: currentColor; }
.footer-col { display: grid; align-content: start; justify-items: start; gap: .22rem; }
.footer-col h2 { font-family: var(--sans); font-size: .9rem; font-weight: 650; letter-spacing: .03em; line-height: 1.5; color: #e3ccb0; margin-bottom: .55rem; }
.footer-col a { font-size: .94rem; color: #eff0e7; text-decoration: none; padding: .1rem 0; }
.footer-col a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; border-top: 1px solid #526054; padding-block: 1.2rem 1.65rem; font-size: .8rem; color: #c7cec1; }
.service-intro, .editorial-hero { background: var(--linen); }
.detail-hero, .editorial-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.75rem, 6.2vw, 7rem); padding-block: clamp(2.75rem, 5.5vw, 5.6rem); }
.breadcrumb { display: inline-block; margin-bottom: 1.15rem; font-size: .9rem; font-weight: 600; color: var(--clay); }
.detail-copy .lede, .editorial-grid .lede, .inquiry-intro .lede { margin-top: 1.3rem; max-width: 33rem; }
.lede { font-size: clamp(1.07rem, 1.37vw, 1.25rem); line-height: 1.6; color: var(--body); }
.detail-copy .button { margin-top: 1.65rem; }
.detail-image, .editorial-photo { aspect-ratio: 1.35; min-width: 0; background: #e1ded2; overflow: hidden; }
.scope-layout, .question-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(3rem, 7.5vw, 8rem); }
.scope-heading > p:not(.eyebrow), .phase-heading > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--body); font-size: 1.075rem; max-width: 37rem; }
.scope-row, .region { border-top: 1px solid var(--line); padding-block: 1.45rem; }
.scope-row:last-child, .region:last-child { border-bottom: 1px solid var(--line); }
.scope-row h3, .region h3 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); }
.scope-row p, .region p { margin-top: .65rem; color: var(--body); }
.outcomes { padding-block: clamp(2.75rem, 4.75vw, 4.95rem); background: var(--pine); color: var(--light); }
.takeaway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7.5vw, 8rem); }
.takeaway-grid h2 { font-size: clamp(1.9rem, 2.8vw, 2.8rem); }
.takeaway-grid p { margin-top: .8rem; max-width: 33rem; color: #e1e5d9; }
.answer { border-top: 1px solid var(--line); }
.answer:last-child { border-bottom: 1px solid var(--line); }
.answer summary { position: relative; list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
.answer summary::before, .answer summary::after { content: ""; position: absolute; width: .9rem; height: 1px; background: var(--clay); top: 50%; right: .12rem; }
.answer summary::after { transform: rotate(90deg); transition: transform .15s; }
.answer[open] summary::after { transform: none; }
.answer p { margin: -.25rem 2rem 1.2rem 0; color: var(--body); }
.more-services { display: flex; align-items: baseline; flex-wrap: wrap; gap: .7rem 2rem; border-top: 1px solid var(--line); padding-block: 1.35rem 2rem; }
.more-services > span { font-size: .85rem; color: var(--clay); font-weight: 650; }
.more-services div { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.more-services div > span { color: #9a9f92; }
.more-services a { font-size: .96rem; }
.phase-heading { margin-bottom: 2.75rem; }
.phase-list { border-bottom: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1rem, 5vw, 6rem); border-top: 1px solid var(--line); padding-block: 1.65rem; }
.phase p { color: var(--body); }
.phase-output { margin-top: .7rem; }
.phase-output strong { display: block; color: var(--clay); font-size: .89rem; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(3.25rem, 7vw, 8rem); }
.inquiry-note, .business-contact { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.2rem; }
.inquiry-note h2, .business-contact h2 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; line-height: 1.45; }
.inquiry-note p { color: var(--body); margin-top: .4rem; max-width: 30rem; }
.business-contact a { display: block; margin-top: .4rem; overflow-wrap: anywhere; }
.form-panel { background: var(--linen); border-top: 3px solid #8d6a4e; padding: clamp(1.4rem, 3vw, 3rem); }
.form-panel h2 { font-size: clamp(2.1rem, 3vw, 3rem); }
.form-panel > p { color: var(--body); margin-top: .7rem; }
.form-guide { margin: 1.3rem 0 1rem; color: var(--muted); font-size: .87rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; align-content: start; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .94rem; font-weight: 600; color: var(--pine); margin: 0 0 .35rem; }
.field label span { color: var(--clay); }
input, select, textarea { min-width: 0; width: 100%; max-width: 100%; color: var(--ink); background: #fdfcf9; border: 1px solid #a5ac9e; border-radius: 0; padding: .7rem .75rem; line-height: 1.4; }
textarea { min-height: 7rem; resize: vertical; }
select { appearance: none; padding-right: 2.1rem; background-image: linear-gradient(45deg, transparent 50%, #4d5f50 50%), linear-gradient(135deg, #4d5f50 50%, transparent 50%); background-position: calc(100% - 17px) 51%, calc(100% - 12px) 51%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #647062; opacity: 1; }
.form-actions { display: flex; gap: 1rem 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.text-button { appearance: none; cursor: pointer; background: transparent; align-self: center; }
.form-status { margin-top: .8rem; font-size: .94rem; color: var(--pine); }
.form-status:empty { display: none; }
.fallback-link { margin-top: 1.25rem; font-size: .88rem; }
@media (min-width: 102rem) { .hero-inner { min-height: 47rem; } }
@media (max-width: 58rem) {
  .header-inner { gap: 1rem; }
  .desktop-nav { gap: 1.3rem; }
  .brand-words { gap: .2rem; padding-left: .65rem; }
  .section-heading { gap: 2rem; }
  .section-heading > p { max-width: 18rem; font-size: 1rem; }
  .coast-feature, .approach-feature-inner, .scope-layout, .question-layout, .detail-hero, .editorial-grid, .inquiry-layout { gap: 2.5rem; }
  .footer-grid { gap: 2rem; }
}
@media (max-width: 47.99rem) {
  .header-inner { min-height: 4.45rem; }
  .brand { gap: .6rem; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; gap: .6rem; align-items: center; justify-content: center; min-width: 4.4rem; min-height: 2.8rem; font-size: .95rem; font-weight: 600; list-style: none; cursor: pointer; }
  .menu-icon { width: 1.2rem; height: .62rem; display: block; border-block: 1.5px solid currentColor; }
  .mobile-menu[open] .menu-icon { height: 1px; border-bottom: 0; }
  .mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; align-items: stretch; background: var(--paper); border-block: 1px solid var(--line); box-shadow: 0 8px 12px #2233241a; padding: .5rem var(--gutter) 1rem; }
  .mobile-menu .nav-link { width: fit-content; }
  .mobile-menu .nav-inquire { width: fit-content; margin-top: .4rem; }
  .hero-inner { min-height: 34rem; padding-block: 4.5rem; }
  .hero h1 { font-size: clamp(3.85rem, 10.7vw, 5.2rem); }
  .hero::after { background: linear-gradient(90deg, rgba(6,19,12,.78), rgba(6,19,12,.56) 47%, rgba(6,19,12,.12)), linear-gradient(0deg, rgba(7,19,12,.2), transparent 55%); }
  .hero-photo { object-position: 59% 57%; }
  .hero-copy > p:not(.eyebrow) { max-width: 24rem; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 32rem; margin-top: 1rem; }
  .service-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-link { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); align-items: start; column-gap: 1.7rem; }
  .card-photo { grid-row: 1 / span 3; margin: 0; aspect-ratio: 1.35; }
  .card-link p { margin: .45rem 0 .65rem; }
  .coast-feature, .approach-feature-inner, .scope-layout, .question-layout, .detail-hero, .editorial-grid, .inquiry-layout { grid-template-columns: 1fr; gap: 2rem; }
  .detail-hero, .editorial-grid { padding-block: 2.5rem 2.7rem; }
  .detail-image, .editorial-photo { aspect-ratio: 1.8; }
  .feature-photo { aspect-ratio: 1.85; }
  .feature-copy, .coast-copy { max-width: 36rem; }
  .coast-photo { aspect-ratio: 1.85; }
  .scope-layout, .question-layout { gap: 2rem; }
  .next-inner { align-items: start; flex-direction: column; gap: 1.3rem; }
  .next-inner .button { align-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .phase { grid-template-columns: .85fr 1.15fr; gap: 1.55rem; }
  .inquiry-note, .business-contact { max-width: 35rem; margin-top: 1.5rem; }
}
@media (max-width: 35rem) {
  h1 { font-size: clamp(3rem, 12vw, 4.2rem); }
  h2 { font-size: clamp(2.5rem, 10.5vw, 3.3rem); }
  .hero-inner { min-height: min(36.5rem, 78svh); padding-block: 4rem; }
  .hero h1 { font-size: clamp(3.3rem, 13vw, 4.65rem); margin-block: 1.4rem 1.2rem; }
  .hero .eyebrow { letter-spacing: .13em; }
  .hero-copy > p:not(.eyebrow) { max-width: 21rem; }
  .hero-actions { gap: .9rem 1.15rem; margin-top: 1.55rem; }
  .hero-actions .button { padding-inline: 1.04rem; }
  .hero-secondary { font-size: .89rem; }
  .eyebrow { font-size: .76rem; letter-spacing: .15em; }
  .eyebrow > span { width: 1.9rem; }
  .card-link { display: flex; }
  .card-photo { aspect-ratio: 1.72; margin-bottom: 1.05rem; }
  .card-link h3 { font-size: 2rem; }
  .card-link p { margin: .45rem 0 .75rem; }
  .takeaway-grid, .phase, .form-grid { grid-template-columns: 1fr; }
  .takeaway-grid { gap: 1.6rem; }
  .phase { gap: .75rem; }
  .form-panel { padding: 1.35rem; }
  .form-actions .button { width: 100%; }
  .footer-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .site-header, .site-footer, .next-section, .mobile-menu, .button, .hero-actions, .more-services, .fallback-link { display: none; }
  body { color: #111; background: white; }
  .section, .editorial-grid, .detail-hero { padding-block: 1rem; }
  .shell { width: 100%; }
  .hero-inner { min-height: 0; padding: 1rem 0; }
  .hero h1, .hero .eyebrow, .hero-copy > p:not(.eyebrow) { color: #111; }
  .hero-photo, .hero::after { display: none; }
  .card-link, .phase, .scope-row, .region { break-inside: avoid; }
}

