/* Homepage composition adapted from the owner's approved HutAndTideV2 design.
   Selective image provenance is recorded in V2 docs/homepage-design.md.
   Every rule is scoped to this page; shared navigation/footer live in the site stylesheet. */
.ht-home {
    background: var(--ht-paper, #fffcf7);
    color: var(--ht-navy, #122c4d);
}

.ht-home .container {
    max-width: 1320px;
    padding-inline: 32px;
}

.ht-home .ht-home-hero,
.ht-home .ht-home-discovery,
.ht-home .ht-home-locations,
.ht-home .ht-home-planning,
.ht-home .ht-home-how,
.ht-home .ht-home-owners {
    margin: 0;
}

.ht-home h1,
.ht-home h2,
.ht-home h3 {
    font-family: Inter, Arial, sans-serif;
    font-weight: 750;
    letter-spacing: -.045em;
    color: var(--ht-navy);
}

.ht-home h2 {
    font-size: clamp(28px, 2.7vw, 39px);
    line-height: 1.12;
}

.ht-home .ht-home-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    font-size: 32px;
}

.ht-home .ht-home-eyebrow {
    margin: 0 0 11px;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.ht-home .ht-home-hero {
    position: relative;
    isolation: isolate;
    padding: 0;
    background: #24577d;
}

.ht-home .ht-home-hero-picture,
.ht-home .ht-home-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.ht-home .ht-home-hero-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

.ht-home .ht-home-hero-shade {
    background: linear-gradient(90deg, #0e2b4cbd 0%, #0e2b4c94 30%, #0e2b4c17 65%, transparent 85%);
}

.ht-home .ht-home-hero-content {
    position: relative;
    min-height: clamp(430px, 48.6vw, 700px);
    padding-top: clamp(38px, 4vw, 58px);
    padding-bottom: 130px;
    color: white;
}

.ht-home .ht-home-hero .ht-home-eyebrow {
    margin-bottom: 18px;
    color: white;
    font-size: clamp(11px, .9vw, 13px);
    letter-spacing: .15em;
}

.ht-home .ht-home-hero h1 {
    margin: 0 0 24px;
    color: white;
    font-size: clamp(58px, 6.6vw, 95px);
    font-weight: 760;
    line-height: .99;
}

.ht-home .ht-home-hero h1 > span {
    color: var(--ht-sand, #fae7c8);
}

.ht-home .ht-home-hero-intro {
    margin: 0;
    color: #fffdf7;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.45;
}

.ht-home .ht-home-beach-badge {
    position: absolute;
    top: 52px;
    left: 55%;
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.ht-home .ht-home-beach-badge .ht-home-icon {
    width: 49px;
    height: 49px;
    font-size: 49px;
}

.ht-home .ht-home-discovery {
    padding: 0;
    background: #fcf5ec;
}

.ht-home .ht-home-discovery > .container {
    display: flow-root;
}

.ht-home .ht-home-search-wrap {
    position: relative;
    z-index: 3;
    margin-top: -86px;
    scroll-margin-top: 105px;
}

.ht-home .ht-home-search-title {
    margin: 0 0 10px 12px;
    color: white;
    font-size: 16px;
    font-weight: 650;
    text-shadow: 0 1px 5px #122c4d;
}

.ht-home .ht-home-search {
    display: grid;
    grid-template-columns: 1.25fr 1.05fr 1fr 1.12fr;
    align-items: center;
    min-height: 96px;
    padding: 17px 20px;
    border: 1px solid #e0e1e3;
    border-radius: 17px;
    background: white;
    box-shadow: 0 3px 9px #122c4d0c;
}

.ht-home .ht-search-location {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 17px;
    padding-right: 16px;
    min-width: 0;
}

.ht-home .ht-home-search-field {
    min-width: 0;
    flex: 1;
}

.ht-home .ht-home-search label,
.ht-home .ht-home-search-info > div > span {
    display: block;
    color: var(--ht-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.ht-home .ht-home-search select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    padding: 4px 24px 4px 0;
    border: 0;
    border-radius: 0;
    appearance: auto;
    background: white;
    color: #465770;
    font: 15px/1.45 Georgia, 'Times New Roman', serif;
    cursor: pointer;
}

.ht-home .ht-home-search select:focus-visible {
    outline: 2px solid #a74627;
    outline-offset: 4px;
    border-radius: 2px;
}

.ht-home .ht-home-search-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    padding: 0 20px;
    border-left: 1px solid #cfd4db;
}

.ht-home .ht-home-search-info p {
    margin: 3px 0 0;
    color: #465770;
    font: 14px/1.4 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 12px 22px;
    border: 1px solid var(--ht-coral, #f57953);
    border-radius: 9px;
    background: var(--ht-coral, #f57953);
    color: #102744;
    font: 700 13px/1.5 Inter, Arial, sans-serif;
    text-decoration: none;
    transition: background-color .18s;
}

.ht-home .ht-home-button:hover {
    border-color: #ff936b;
    background: #ff936b;
    color: #102744;
}

.ht-home .ht-home-search-help {
    margin: 10px 0 0 12px;
    color: #465770;
    font-size: 12px;
    line-height: 1.5;
}

.ht-home .ht-home-day-options {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 0 29px;
}

.ht-home .ht-home-day-options h2 {
    flex-shrink: 0;
    margin: 0;
    font-size: 22px;
    letter-spacing: -.035em;
}

.ht-home .ht-home-day-options nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    flex: 1;
    gap: 15px;
}

.ht-home .ht-home-day-options a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 49px;
    padding: 10px 12px;
    border: 1px solid #bdc3ca;
    border-radius: 12px;
    color: var(--ht-navy);
    font: 15px/1.4 Georgia, 'Times New Roman', serif;
    text-decoration: none;
}

.ht-home .ht-home-day-options a:hover {
    border-color: var(--ht-navy);
    background: white;
}

.ht-home .ht-home-day-options .ht-home-icon {
    width: 27px;
    height: 27px;
    font-size: 27px;
}

.ht-home .ht-home-locations {
    padding: 48px 0 52px;
    scroll-margin-top: 105px;
}

.ht-home .ht-home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.ht-home .ht-home-section-heading .ht-home-eyebrow {
    margin-bottom: 7px;
}

.ht-home .ht-home-section-heading h2 {
    margin-bottom: 8px;
}

.ht-home .ht-home-section-heading > div > p:last-child {
    margin: 0;
    font: 19px/1.5 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-block: 8px;
    color: var(--ht-navy);
    font-size: 13px;
    font-weight: 700;
    text-underline-offset: 4px;
}

.ht-home .ht-home-destinations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ht-home .ht-home-destination {
    min-width: 0;
    color: var(--ht-navy);
    text-decoration: none;
}

.ht-home .ht-home-destination > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.38;
    object-fit: cover;
    border-radius: 11px;
}

.ht-home .ht-home-destination > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.ht-home .ht-home-destination h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.ht-home .ht-home-round-arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid var(--ht-navy);
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
}

.ht-home .ht-home-destination p {
    margin: 3px 0 0;
    color: var(--ht-navy);
    font: 14px/1.5 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-destination:hover h3 {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ht-home .ht-home-destination:hover .ht-home-round-arrow {
    background: var(--ht-navy);
    color: white;
}

.ht-home .ht-home-empty {
    margin-bottom: 0;
    font-family: Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-planning {
    padding: 38px 0;
    background: #f8ead7;
    scroll-margin-top: 105px;
}

.ht-home .ht-home-planning-grid {
    display: grid;
    grid-template-columns: 1.03fr 1fr;
    align-items: center;
    gap: 48px;
}

.ht-home .ht-home-interior {
    position: relative;
    height: 475px;
    margin: 0;
}

.ht-home .ht-home-interior > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 57%;
    border-radius: 12px;
}

.ht-home .ht-home-interior figcaption {
    position: absolute;
    bottom: 19px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 17px 25px;
    border-radius: 9px;
    background: white;
    box-shadow: 0 1px 10px #122c4d0d;
    color: var(--ht-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.ht-home .ht-home-interior figcaption .ht-home-icon {
    width: 48px;
    height: 48px;
    color: #c74e2d;
    font-size: 48px;
}

.ht-home .ht-home-planning-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 2.65vw, 38px);
}

.ht-home .ht-home-planning-intro {
    margin-bottom: 28px;
    font: 18px/1.5 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    margin-bottom: 23px;
}

.ht-home .ht-home-features article {
    display: flex;
    align-items: start;
    gap: 17px;
    scroll-margin-top: 110px;
}

.ht-home .ht-home-features article:target {
    outline: 2px solid #b95032;
    outline-offset: 9px;
    border-radius: 3px;
}

.ht-home .ht-home-features .ht-home-icon {
    width: 35px;
    height: 35px;
    font-size: 35px;
}

.ht-home .ht-home-features h3 {
    margin-bottom: 4px;
    font-size: 15px;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.ht-home .ht-home-features p {
    margin: 0;
    font: 14px/1.4 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-how {
    padding: 42px 0 45px;
    scroll-margin-top: 105px;
}

.ht-home .ht-home-how h2 {
    margin-bottom: 28px;
}

.ht-home .ht-home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ht-home .ht-home-steps li {
    display: flex;
    align-items: start;
    gap: 24px;
}

.ht-home .ht-home-steps li > span {
    color: #bf4b2a;
    font-size: 45px;
    font-weight: 650;
    letter-spacing: -.06em;
    line-height: 1;
}

.ht-home .ht-home-steps h3 {
    margin: 2px 0 5px;
    font-size: 17px;
    letter-spacing: -.03em;
}

.ht-home .ht-home-steps p {
    margin: 0;
    font: 16px/1.45 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-owners {
    padding: 0 0 46px;
}

.ht-home .ht-home-owner-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 17px;
    background: var(--ht-navy);
}

.ht-home .ht-home-owner-panel > img {
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    width: 53%;
    height: 100%;
    object-fit: cover;
    object-position: center 67%;
}

.ht-home .ht-home-owner-panel::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #122c4d 0%, #122c4d 44%, #122c4dd9 52%, #122c4d00 67%);
}

.ht-home .ht-home-owner-copy {
    width: 64%;
    padding: 34px 40px 30px;
    color: white;
}

.ht-home .ht-home-owner-copy .ht-home-eyebrow {
    color: white;
    font-size: 11px;
}

.ht-home .ht-home-owner-copy h2 {
    margin-bottom: 13px;
    color: white;
    font-size: 34px;
}

.ht-home .ht-home-owner-copy > p:not(.ht-home-eyebrow) {
    max-width: 570px;
    margin-bottom: 16px;
    font: 17px/1.45 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-owner-copy ul {
    margin: 0 0 23px;
    padding: 0;
    list-style: none;
    font: 16px/1.5 Georgia, 'Times New Roman', serif;
}

.ht-home .ht-home-owner-copy li {
    position: relative;
    margin-block: 5px;
    padding-left: 28px;
}

.ht-home .ht-home-owner-copy li::before {
    content: '✓';
    position: absolute;
    top: 4px;
    left: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--ht-coral);
    color: #102744;
    font: 700 12px/1 Arial, sans-serif;
}

.ht-home .ht-home-owner-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 26px;
}

.ht-home .ht-home-owner-actions .ht-home-button {
    min-height: 45px;
    padding-block: 9px;
}

.ht-home .ht-home-owner-actions .ht-home-text-link {
    color: white;
}

.ht-home .ht-home-owner-copy > .ht-home-owner-note {
    margin: 14px 0 0;
    color: #e4ebf4;
    font-size: 12px;
}

.ht-home .ht-home-hero :focus-visible,
.ht-home .ht-home-owner-panel :focus-visible {
    outline: 3px solid #ffdc9d;
    outline-offset: 4px;
}

@media (max-width: 1199px) {
    .ht-home .ht-home-day-options { gap: 20px; }
    .ht-home .ht-home-day-options h2 { font-size: 20px; }
    .ht-home .ht-home-day-options a { gap: 8px; font-size: 14px; padding-inline: 9px; }
    .ht-home .ht-home-search-info { gap: 11px; padding-inline: 14px; }
    .ht-home .ht-home-search select { font-size: 14px; }
    .ht-home .ht-home-button { gap: 12px; padding-inline: 16px; }
    .ht-home .ht-home-planning-grid { gap: 32px; }
    .ht-home .ht-home-features { gap: 25px 16px; }
    .ht-home .ht-home-features article { gap: 11px; }
    .ht-home .ht-home-owner-copy h2 { font-size: 30px; }
}

@media (max-width: 991px) {
    .ht-home .ht-home-beach-badge { left: 61%; top: 40px; }
    .ht-home .ht-home-search { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; padding: 14px; }
    .ht-home .ht-home-search .ht-home-icon { width: 25px; height: 25px; font-size: 25px; }
    .ht-home .ht-search-location { gap: 10px; padding-right: 10px; }
    .ht-home .ht-home-search-info { gap: 10px; padding-inline: 12px; }
    .ht-home .ht-home-search-info p { font-size: 12px; }
    .ht-home .ht-home-search .ht-home-button { padding-inline: 10px; font-size: 12px; gap: 10px; }
    .ht-home .ht-home-day-options { display: block; }
    .ht-home .ht-home-day-options h2 { margin-bottom: 16px; }
    .ht-home .ht-home-destination h3 { font-size: 17px; }
    .ht-home .ht-home-destination p { font-size: 13px; }
    .ht-home .ht-home-planning-grid { gap: 28px; }
    .ht-home .ht-home-interior { height: 490px; }
    .ht-home .ht-home-planning-intro { font-size: 17px; }
    .ht-home .ht-home-features .ht-home-icon { width: 28px; height: 28px; font-size: 28px; }
    .ht-home .ht-home-features h3 { font-size: 13px; }
    .ht-home .ht-home-features p { font-size: 13px; }
    .ht-home .ht-home-steps { gap: 22px; }
    .ht-home .ht-home-steps li { gap: 15px; }
    .ht-home .ht-home-steps li > span { font-size: 39px; }
    .ht-home .ht-home-steps h3 { font-size: 15px; }
    .ht-home .ht-home-steps p { font-size: 15px; }
    .ht-home .ht-home-owner-copy { width: 70%; padding: 30px; }
    .ht-home .ht-home-owner-panel::after { background: linear-gradient(90deg, #122c4d 0%, #122c4d 42%, #122c4de8 58%, #122c4d40 80%, transparent); }
}

@media (max-width: 767px) {
    .ht-home .container { padding-inline: 24px; }
    .ht-home .ht-home-hero-content { min-height: 600px; padding-top: 42px; padding-bottom: 145px; }
    .ht-home .ht-home-hero-picture img { object-position: 66% center; }
    .ht-home .ht-home-hero-shade { background: linear-gradient(90deg, #102c4de3, #102c4db0 48%, #102c4d45); }
    .ht-home .ht-home-hero h1 { font-size: clamp(54px, 9.4vw, 72px); line-height: 1.01; }
    .ht-home .ht-home-hero-intro { font-size: 20px; }
    .ht-home .ht-home-beach-badge { display: none; }
    .ht-home .ht-home-search-wrap { margin-top: -100px; }
    .ht-home .ht-home-search-title { margin-left: 0; font-size: 15px; }
    .ht-home .ht-home-search { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
    .ht-home .ht-search-location { grid-column: 1 / -1; min-height: 50px; padding: 0; gap: 17px; }
    .ht-home .ht-home-search select { font-size: 16px; }
    .ht-home .ht-home-search-info { align-items: start; gap: 12px; min-height: 60px; padding: 14px 0 0; border-left: 0; border-top: 1px solid #e4e5e8; }
    .ht-home .ht-home-search-info p { font-size: 13px; }
    .ht-home .ht-home-search .ht-home-button { grid-column: 1 / -1; min-height: 48px; font-size: 14px; }
    .ht-home .ht-home-search-help { margin-left: 0; }
    .ht-home .ht-home-day-options nav { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ht-home .ht-home-day-options a { justify-content: start; padding-inline: 14px; font-size: 15px; }
    .ht-home .ht-home-section-heading { display: block; }
    .ht-home .ht-home-section-heading .ht-home-text-link { margin-top: 10px; }
    .ht-home .ht-home-section-heading > div > p:last-child { font-size: 17px; }
    .ht-home .ht-home-destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
    .ht-home .ht-home-destination > img { aspect-ratio: 1.5; }
    .ht-home .ht-home-planning-grid { grid-template-columns: 1fr; gap: 30px; }
    .ht-home .ht-home-interior { height: 420px; }
    .ht-home .ht-home-planning-copy h2 { font-size: 32px; }
    .ht-home .ht-home-planning-intro { font-size: 18px; }
    .ht-home .ht-home-features { gap: 26px 18px; }
    .ht-home .ht-home-features h3 { font-size: 15px; }
    .ht-home .ht-home-features p { font-size: 14px; }
    .ht-home .ht-home-features .ht-home-icon { width: 32px; height: 32px; font-size: 32px; }
    .ht-home .ht-home-steps { grid-template-columns: 1fr; gap: 26px; }
    .ht-home .ht-home-steps li { gap: 24px; }
    .ht-home .ht-home-steps li > span { min-width: 50px; font-size: 43px; }
    .ht-home .ht-home-steps h3 { font-size: 17px; }
    .ht-home .ht-home-steps p { font-size: 16px; }
    .ht-home .ht-home-owner-copy { width: 100%; padding: 30px 26px 238px; }
    .ht-home .ht-home-owner-panel > img { top: auto; bottom: 0; width: 100%; height: 240px; object-position: center 66%; }
    .ht-home .ht-home-owner-panel::after { background: linear-gradient(180deg, #122c4d 0%, #122c4d calc(100% - 240px), #122c4d00 calc(100% - 185px)); }
    .ht-home .ht-home-owner-copy h2 { font-size: 29px; }
    .ht-home .ht-home-owner-copy ul { font-size: 15px; }
}

@media (max-width: 575px) {
    .ht-home .ht-home-hero-content { min-height: 590px; }
    .ht-home .ht-home-hero .ht-home-eyebrow { font-size: 10px; letter-spacing: .12em; }
    .ht-home .ht-home-hero h1 { font-size: clamp(49px, 14.4vw, 70px); }
    .ht-home .ht-home-hero-intro { font-size: 19px; }
    .ht-home .ht-home-search { padding: 18px; gap: 14px; border-radius: 13px; }
    .ht-home .ht-home-day-options a { font-size: 14px; gap: 10px; padding-inline: 11px; }
    .ht-home .ht-home-day-options .ht-home-icon { width: 24px; height: 24px; font-size: 24px; }
    .ht-home .ht-home-locations { padding-block: 35px 39px; }
    .ht-home .ht-home-destinations { grid-template-columns: 1fr; gap: 28px; }
    .ht-home .ht-home-destination > img { aspect-ratio: 1.7; }
    .ht-home .ht-home-destination h3 { font-size: 20px; }
    .ht-home .ht-home-destination p { font-size: 15px; }
    .ht-home .ht-home-planning { padding-block: 30px 35px; }
    .ht-home .ht-home-interior { height: 350px; }
    .ht-home .ht-home-interior figcaption { gap: 15px; padding: 15px 20px; font-size: 16px; }
    .ht-home .ht-home-interior figcaption .ht-home-icon { width: 38px; height: 38px; font-size: 38px; }
    .ht-home .ht-home-planning-copy h2 { font-size: 30px; }
    .ht-home .ht-home-features { gap: 26px 13px; }
    .ht-home .ht-home-features article { gap: 10px; }
    .ht-home .ht-home-features .ht-home-icon { width: 27px; height: 27px; font-size: 27px; }
    .ht-home .ht-home-features h3 { font-size: 14px; }
    .ht-home .ht-home-features p { font-size: 13px; }
    .ht-home .ht-home-how { padding-block: 34px 38px; }
    .ht-home .ht-home-owners { padding-bottom: 35px; }
    .ht-home .ht-home-owner-copy { padding-inline: 24px; }
    .ht-home .ht-home-owner-actions { gap: 10px 22px; }
    .ht-home .ht-home-owner-actions .ht-home-button { width: 100%; }
}

@media (max-width: 359px) {
    .ht-home .container { padding-inline: 18px; }
    .ht-home .ht-home-hero h1 { font-size: 48px; }
    .ht-home .ht-home-day-options a { font-size: 13px; gap: 7px; }
    .ht-home .ht-home-features { grid-template-columns: 1fr; }
    .ht-home .ht-home-features h3 { font-size: 16px; }
    .ht-home .ht-home-features p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .ht-home .ht-home-button { transition: none; }
}
