/* Hallmark · genre: editorial · macrostructure: Split Studio · theme: custom (tuned) · enrichment: photography (Unsplash) · nav: N9 · footer: Ft1
 * axes: paper light · display roman-serif (Fraunces) · accent chromatic-other (Irish green, orange CTA only)
 * pre-emit critique: P4 H4 E4 S4 R5 V4
 */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Instrument+Sans:wght@400;500;600&display=swap");

:root {
    --hp-paper: oklch(0.975 0.008 150);
    --hp-paper-2: oklch(0.948 0.014 150);
    --hp-ink: oklch(0.23 0.03 160);
    --hp-ink-2: oklch(0.42 0.025 160);
    --hp-line: oklch(0.86 0.015 150);
    --hp-green: oklch(0.43 0.11 152);
    --hp-green-deep: oklch(0.29 0.065 156);
    --hp-on-green: oklch(0.97 0.01 150);
    --hp-on-green-2: oklch(0.84 0.03 150);
    --hp-orange: oklch(0.72 0.16 55);
    --hp-orange-ink: oklch(0.22 0.04 50);
    --hp-focus: oklch(0.55 0.15 152);
    --hp-ok-bg: oklch(0.94 0.04 152);
    --hp-font-display: "Fraunces", Georgia, serif;
    --hp-font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

html, body { overflow-x: clip; }

body {
    background: var(--hp-paper);
    color: var(--hp-ink);
    font-family: var(--hp-font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.hp a { color: var(--hp-ink); }
.hp :focus-visible { outline: 2px solid var(--hp-focus); outline-offset: 3px; }

.hp-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* N9 edge-aligned minimal */
.hp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
}
.hp-mark {
    font-family: var(--hp-font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--hp-green-deep) !important;
    white-space: nowrap;
}
.hp-nav-links { display: flex; align-items: center; gap: 22px; }
.hp-nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--hp-ink-2) !important;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.hp-nav-links a:hover { color: var(--hp-ink) !important; }
.hp-nav-links .hp-nav-go { color: var(--hp-green) !important; font-weight: 600; }

/* Split Studio rows */
.hp-row { padding: 56px 0; }
.hp-row + .hp-row { border-top: 1px solid var(--hp-line); }
.hp-split { display: grid; gap: 32px; align-items: center; }
.hp-split > * { min-width: 0; }

.hp-label {
    margin: 0 0 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-green);
}

.hp h1, .hp h2, .hp h3 {
    font-family: var(--hp-font-display);
    font-style: normal;
    color: var(--hp-ink);
    overflow-wrap: anywhere;
    min-width: 0;
}
.hp h1 {
    margin: 0;
    font-weight: 500;
    font-size: clamp(2.6rem, 6.2vw, 5.1rem);
    line-height: 1;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144;
}
.hp h2 {
    margin: 0 0 16px;
    font-weight: 500;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 96;
}
.hp h3 { margin: 0 0 4px; font-weight: 600; font-size: 1.15rem; }

.hp-lede { margin: 22px 0 0; max-width: 34rem; font-size: 1.15rem; color: var(--hp-ink-2); }
.hp p { max-width: 36rem; }
.hp-body { color: var(--hp-ink-2); margin: 0 0 18px; }

.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 4px;
    background: var(--hp-orange);
    color: var(--hp-orange-ink) !important;
    font: 600 1rem/1 var(--hp-font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
}
.hp-btn:hover { filter: brightness(0.95); }
.hp-btn:active { transform: translateY(1px); }
.hp-btn:disabled { opacity: 0.6; cursor: default; }

.hp-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--hp-ink);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
}
.hp-chip:hover { background: var(--hp-ink); color: var(--hp-paper) !important; }

.hp-link { font-weight: 600; text-decoration-color: var(--hp-green); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }

.hp-photo { margin: 0; overflow: hidden; border-radius: 6px; background: var(--hp-paper-2); }
.hp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-photo.is-tall { aspect-ratio: 4 / 5; }
.hp-photo.is-wide { aspect-ratio: 4 / 3; }

.hp-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 0; border-top: 1px solid var(--hp-line); max-width: 36rem; }
.hp-list li { padding: 11px 0; border-bottom: 1px solid var(--hp-line); }
.hp-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; background: var(--hp-green); vertical-align: middle; }

.hp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: step; max-width: 34rem; }
.hp-steps li { counter-increment: step; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 12px; }
.hp-steps li::before {
    content: counter(step);
    grid-row: span 2;
    font-family: var(--hp-font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--hp-green);
}
.hp-steps p { margin: 0; color: var(--hp-ink-2); }

.hp-towns { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; max-width: 30rem; }
.hp-towns li { padding: 6px 0; break-inside: avoid; border-bottom: 1px solid var(--hp-line); }

/* Estimate */
.hp-estimate { background: var(--hp-paper-2); }
.hp-form { display: grid; gap: 6px; }
.hp-form label, .hp-form legend { font-weight: 600; font-size: 0.92rem; margin-top: 10px; padding: 0; }
.hp-form input, .hp-form select, .hp-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--hp-line);
    border-radius: 4px;
    background: var(--hp-paper);
    color: var(--hp-ink);
    font: 400 1rem var(--hp-font-body);
}
.hp-form textarea { min-height: 110px; resize: vertical; }
.hp-form input:focus, .hp-form select:focus, .hp-form textarea:focus { outline: 2px solid var(--hp-focus); outline-offset: 1px; border-color: transparent; }
.hp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hp-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 6px; border: 1px solid var(--hp-line); border-radius: 4px; overflow: hidden; }
.hp-seg label { margin: 0; position: relative; }
.hp-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.hp-seg span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 8px;
    background: var(--hp-paper);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}
.hp-seg label + label span { border-left: 1px solid var(--hp-line); }
.hp-seg input:checked + span { background: var(--hp-green); color: var(--hp-on-green); }
.hp-seg input:focus-visible + span { outline: 2px solid var(--hp-focus); outline-offset: -3px; }
.hp-form .hp-btn { margin-top: 18px; justify-self: start; }
.hp-form-note { margin: 10px 0 0; padding: 12px 14px; border-radius: 4px; background: var(--hp-ok-bg); color: var(--hp-green-deep); font-weight: 500; }
.hp-reach { color: var(--hp-ink-2); }

/* Ft1 mast-headed */
.hp-foot { background: var(--hp-green-deep); color: var(--hp-on-green-2); padding: 48px 0 36px; }
.hp-foot-mast { display: grid; gap: 18px; align-items: end; padding-bottom: 26px; border-bottom: 1px solid color-mix(in oklch, var(--hp-on-green) 22%, transparent); }
.hp-foot-name { margin: 0; font-family: var(--hp-font-display); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; color: var(--hp-on-green); }
.hp-foot-mast p { margin: 0; max-width: 28rem; }
.hp-foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.hp-foot-links a { color: var(--hp-on-green) !important; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.hp-foot-links a:hover { text-decoration: underline; }
.hp-foot-small { margin: 14px 0 0; font-size: 0.82rem; }
.hp-foot-small a { color: var(--hp-on-green-2) !important; }

@media (max-width: 760px) {
    .hp-nav-links a:not(.hp-nav-go) { display: none; }
    .hp-row { padding: 40px 0; }
    .hp-towns { columns: 1; }
}

@media (min-width: 900px) {
    .hp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
    .hp-split.is-flip > :first-child { order: 2; }
    .hp-hero .hp-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .hp-foot-mast { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .hp-btn { transition: none; }
}
