@import "./fonts/stylesheet.css";

/* ============================================================
   Ævintýraferðir Örnólfs — theme
   Design language from the 2026 ad campaign:
   deep navy, PT Serif Caption display type, white head mark.
   Built for an older audience: large type, high contrast,
   generous touch targets, minimal decoration.
   ============================================================ */

:root {
    --navy: #1d2d8a;
    --navy-deep: #131c55;
    --navy-night: #0e1440;
    --navy-soft: #eef0fa;
    --ink: #21242c;
    --ink-soft: #4a4e5a;
    --paper: #ffffff;
    --cream: #f7f5ee;
    --line: #e2dfd4;
    --gold: #d5ac3c;
    --gold-ink: #7c5f14;
    --font-body: "Gill Sans", "Trebuchet MS", Verdana, sans-serif;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow-soft: 0 2px 10px rgba(14, 20, 64, 0.06);
    --shadow-lift: 0 12px 30px rgba(14, 20, 64, 0.14);
    --nav-height: 74px;
}

/* ---------- reset & base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.25rem; /* 20px */
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
}

h1,
h2,
h3 {
    font-family: var(--font-display, Georgia, "Times New Roman", serif);
    font-weight: 400;
    line-height: 1.25;
    color: var(--navy);
}

h1 {
    font-size: clamp(2rem, 4.2vw, 2.9rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h3 {
    font-size: 1.4rem;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--navy);
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* anchored sections land below the sticky nav */
[id] {
    scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* visible keyboard focus everywhere */
:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 3px;
    border-radius: 4px;
}

.site-top :focus-visible,
.site-footer :focus-visible,
.booking-bar :focus-visible {
    outline-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- motion system ---------- */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes head-drift {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-26px);
    }
    to {
        opacity: 0.85;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes bar-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* scroll-reveal: hidden only after the script tags an element;
   uses an animation so it never fights hover/press transitions */
[data-reveal]:not(.is-in) {
    opacity: 0;
}

[data-reveal].is-in {
    animation: rise 0.55s ease-out both;
    animation-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-instant {
    animation: none;
}

.auto__container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    background: var(--paper);
    color: var(--navy);
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 1.1rem;
}

.skip-link:focus {
    top: 0;
}

/* ---------- header: one flat sticky bar, no shadow layering ---------- */

.site-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--navy-night);
}

.site-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
}

.site-logo {
    display: inline-block;
    line-height: 0;
}

.site-logo img {
    height: 44px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px 26px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #ffffff;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 8px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease-out;
}

.site-nav a:hover {
    border-bottom-color: var(--gold);
}

.site-nav__contact {
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 6px 18px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7) !important;
}

.site-nav__contact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff !important;
}

/* ---------- rounded, contained media cards ---------- */

.hero-wrap {
    padding: 26px 0 0;
}

.media-card {
    position: relative;
    height: clamp(250px, 34vw, 410px);
    border-radius: 24px;
    overflow: hidden;
    background: var(--navy-soft);
}

/* soft contained scrim so the white mark and title stay readable */
.media-card::before,
.mosaic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(100deg, rgba(10, 14, 45, 0.55) 0%, rgba(10, 14, 45, 0.22) 42%, rgba(10, 14, 45, 0) 68%);
}

/* zoomed in: the crop shows roughly the middle 70% of the mark */
.hero-card__head {
    position: absolute;
    z-index: 2;
    left: clamp(-50px, -2vw, -12px);
    top: 50%;
    transform: translateY(-50%);
    height: 145%;
    width: auto;
    max-width: none;
    opacity: 0.85;
    pointer-events: none;
}

/* soft centered veil so the centered title stays readable */
.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(10, 14, 45, 0.42) 0%, rgba(10, 14, 45, 0.12) 75%);
}

.hero-card__title {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: rise 0.7s 0.1s ease-out both;
}

.hero-card__head {
    animation: head-drift 0.9s 0.3s ease-out both;
}

/* floating stat strip, ties hero and content together */
.hero-stats {
    position: relative;
    z-index: 3;
    animation: rise 0.6s 0.25s ease-out both;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lift);
    padding: 20px 28px;
    margin: -44px clamp(12px, 3vw, 40px) 0;
}

.hero-stats__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-stats__icon,
.trip-stats__icon {
    flex: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy-soft);
    color: var(--navy);
}

.hero-stats__item strong,
.trip-stats__item strong {
    display: block;
    font-family: var(--font-display, Georgia, serif);
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--navy);
    line-height: 1.3;
}

.hero-stats__item small,
.trip-stats__item small {
    display: block;
    font-size: 0.98rem;
    color: var(--ink-soft);
}

.hero-stats__item a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section--trips {
    padding-top: 52px;
}

.section--tight {
    padding-top: 28px;
}

/* ---------- shared section scaffolding ---------- */

.section {
    padding: 60px 0;
}

.section--cream {
    background: #f6f7fb;
}

.section-head {
    margin-bottom: 32px;
}

.section-head p {
    font-size: 1.2rem;
    color: var(--ink-soft);
    margin-top: 6px;
}

.eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-ink);
    margin-bottom: 8px;
}

.prose .eyebrow {
    margin-bottom: 8px;
    white-space: normal;
}

/* ---------- trip cards (home) ---------- */

.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 20px;
}

.tripCard {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.tripCard:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-lift);
    transform: translateY(-3px);
}

.tripCard__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--navy-soft);
    overflow: hidden;
}

.tripCard__media img {
    transition: transform 0.45s ease-out;
}

.tripCard:hover .tripCard__media img {
    transform: scale(1.06);
}

.tripCard:active {
    transform: translateY(-1px) scale(0.99);
}

.tripCard__media .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: var(--shadow-soft);
}

.tripCard__body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 18px 16px;
    flex: 1;
}

.tripCard__title {
    font-size: 1.3rem;
    line-height: 1.3;
}

.tripCard__dates {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.tripCard__dates svg {
    flex: none;
    color: var(--navy);
}

.badge {
    display: inline-block;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 999px;
    padding: 6px 16px;
}

.badge--soldout {
    background: var(--navy);
    color: #ffffff;
}

.badge--lastcall {
    background: var(--gold);
    color: #ffffff;
    font-size: 1.05rem;
    padding: 7px 18px;
}

.tripCard__foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    border-top: 1px solid var(--line);
}

.tripCard__price {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.08rem;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tripCard__cta span {
    white-space: nowrap;
}

.tripCard__cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 1.1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease-out;
}

.tripCard__cta span::after {
    content: "→";
    text-decoration: none;
    display: inline-block;
    transition: transform 0.25s ease-out;
}

.tripCard:hover .tripCard__cta span::after {
    transform: translateX(4px);
}

.tripCard:hover .tripCard__cta span {
    color: var(--navy-deep);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 26px;
    border: 2px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    font-size: 1.15rem;
    text-decoration: none;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}

.pill:hover {
    background: var(--navy);
    color: #ffffff;
}

/* ---------- featured links (Hlustaðu og lestu) ---------- */

.featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.featuredCard {
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.featuredCard:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-lift);
    transform: translateY(-3px);
}

.featuredCard__icon {
    flex: none;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
}

.featuredCard__body {
    display: block;
}

.featuredCard__title {
    display: block;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.45rem;
    color: var(--navy);
    margin-bottom: 4px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.featuredCard__text {
    display: block;
    font-size: 1.15rem;
    color: var(--ink-soft);
}

.featuredCard__arrow {
    margin-left: auto;
    flex: none;
    color: var(--navy);
    transition: transform 0.25s ease-out;
}

.featuredCard:hover .featuredCard__arrow {
    transform: translateX(5px);
}

.featuredCard:active {
    transform: translateY(-1px) scale(0.99);
}

/* ---------- about / ceo ---------- */

.about__grid,
.ceo__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.ceo__grid {
    grid-template-columns: 1fr 1.4fr;
}

.about__grid img,
.ceo__grid img {
    border-radius: var(--radius);
    width: 100%;
    height: auto;
}

.prose h3 {
    margin: 0 0 12px;
}

.prose p {
    margin-bottom: 18px;
    white-space: pre-line;
}

.prose p:last-child {
    margin-bottom: 0;
}

/* ---------- sub-page headers (white, navy in reserve) ---------- */

.page-head {
    padding: 44px 0 4px;
}

.page-head__sub {
    font-size: 1.3rem;
    color: var(--ink-soft);
    margin-top: 8px;
    max-width: 60ch;
}

/* ---------- trip header: back link, rounded mosaic, title on white ---------- */

.trip-head {
    padding: 20px 0 0;
}

.trip-head__info {
    padding: 26px 0 4px;
}

.trip-head__sub {
    font-size: 1.35rem;
    color: var(--ink-soft);
    margin-top: 6px;
}

.trip-head__info .badge {
    margin-top: 16px;
}

.trip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.trip-stats__item {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    padding: 12px 22px 12px 14px;
}

/* mosaic: cover photo + first itinerary photos */
.mosaic {
    position: relative;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 6px;
    height: clamp(280px, 36vw, 440px);
    border-radius: 24px;
    overflow: hidden;
    background: var(--navy-soft);
}

.mosaic__tile {
    position: relative;
    overflow: hidden;
    background: var(--navy-soft);
    animation: fade 0.6s ease-out both;
}

.mosaic__tile:nth-child(1) { animation-delay: 0.05s; }
.mosaic__tile:nth-child(2) { animation-delay: 0.15s; }
.mosaic__tile:nth-child(3) { animation-delay: 0.25s; }
.mosaic__tile:nth-child(4) { animation-delay: 0.35s; }
.mosaic__tile:nth-child(5) { animation-delay: 0.45s; }

.mosaic__tile:first-child {
    grid-row: 1 / span 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--navy);
    font-size: 1.1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 10px;
}

/* ---------- trip page ---------- */

.trip-section {
    padding: 44px 0 0;
}

.trip-section:last-of-type {
    padding-bottom: 72px;
}

.trip-section h2 {
    margin-bottom: 20px;
}

.day-hint {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin: -8px 0 20px;
}

.day-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.day {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.day summary,
.day--static {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    column-gap: 16px;
    padding: 16px 64px 16px 20px;
    cursor: pointer;
    list-style: none;
    min-height: 56px;
}

.day--static {
    cursor: default;
    padding-right: 24px;
}

.day__num {
    grid-row: 1 / span 2;
    align-self: center;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy-soft);
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.15rem;
    color: var(--navy);
}

.day summary::-webkit-details-marker {
    display: none;
}

.day summary {
    transition: background 0.2s ease-out;
}

.day summary:hover {
    background: var(--navy-soft);
}

.day[open] .day__body {
    animation: rise 0.3s ease-out;
}

/* chevron */
.day summary::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -9px;
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
    transform: rotate(45deg);
    transition: transform 0.2s ease-out;
}

.day[open] summary::after {
    transform: rotate(-135deg);
    margin-top: -3px;
}

.day__date {
    display: block;
    grid-column: 2;
    font-size: 1.02rem;
    color: var(--ink-soft);
}

.day__route {
    display: block;
    grid-column: 2;
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.3rem;
    color: var(--navy);
}

.day__body {
    padding: 4px 24px 22px 84px;
}

.day__body--thumb {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 16px 24px;
    align-items: start;
}

.day__thumb {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--navy-soft);
}

.day__text {
    font-size: 1.2rem;
    white-space: pre-line;
}

.hotel-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hotel {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    font-size: 1.2rem;
}

.hotel__name {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.25rem;
    color: var(--navy);
}

.hotel__stars {
    color: var(--gold-ink);
    letter-spacing: 2px;
}

.hotel__location {
    color: var(--ink-soft);
}

/* ticket-style price card */
.price-list {
    max-width: 620px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    padding: 8px 28px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 2px dashed var(--line);
    font-size: 1.25rem;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row strong {
    font-family: var(--font-display, Georgia, serif);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.price-row small {
    font-size: 1.1rem;
}

.info-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-block {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 28px 32px;
    font-size: 1.25rem;
}

.contact-block a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

/* ---------- inquiry form ---------- */

.tripForm {
    margin-top: 28px;
    padding: 32px 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.tripForm h3 {
    margin-bottom: 10px;
}

.tripForm .tripForm__intro {
    font-size: 1.2rem;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.tripForm form label {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.tripForm__row {
    display: flex;
    gap: 20px;
}

.tripForm__row label {
    flex: 1 1 0;
}

.tripForm input[type="text"],
.tripForm input[type="tel"],
.tripForm input[type="email"] {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    min-height: 52px;
    font-family: inherit;
    font-size: 1.2rem;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid #b9b5a6;
    border-radius: var(--radius-sm);
}

.tripForm input:focus {
    border-color: var(--navy);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 45, 138, 0.25);
}

.roomChoice {
    border: none;
    margin: 4px 0 18px;
    padding: 0;
}

.roomChoice legend {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.tripForm .roomChoice__option {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1.15rem;
    transition: border-color 0.2s ease-out, background 0.2s ease-out;
}

.tripForm .roomChoice__option.is-active {
    border-color: var(--navy);
    background: var(--navy-soft);
}

.roomChoice__option input {
    width: 24px;
    height: 24px;
    accent-color: var(--navy);
    flex: none;
}

.roomChoice__option small {
    color: var(--ink-soft);
    font-size: 1.02rem;
    margin-left: 6px;
}

.tripForm .tripForm__estimate {
    font-size: 1.2rem;
    margin: 0 0 22px;
}

.tripForm__estimate strong {
    font-family: var(--font-display, Georgia, serif);
    font-weight: 400;
    font-size: 1.45rem;
    color: var(--navy);
    font-variant-numeric: tabular-nums;
}

.tripForm button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 34px;
    font-size: 1.25rem;
    color: #ffffff;
    background: var(--navy);
    border-radius: 999px;
    transition: background 0.2s ease-out;
}

.tripForm button:hover {
    background: var(--navy-deep);
}

.tripForm button:active,
.pill:active,
.booking-bar a:active {
    transform: scale(0.97);
}

.tripForm button:disabled {
    opacity: 0.55;
    cursor: default;
}

.tripForm .tripForm__success {
    font-size: 1.25rem;
    color: #1d6b30;
}

.tripForm .tripForm__error {
    font-size: 1.15rem;
    color: #a3231c;
    margin-top: 16px;
}

/* ---------- útvarp ---------- */

.series {
    margin-bottom: 56px;
}

.series:last-child {
    margin-bottom: 0;
}

.series h2 {
    margin-bottom: 4px;
}

.series__meta {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.episode {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    padding: 20px 24px;
    margin-bottom: 14px;
}

.episode__title {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.episode audio {
    width: 100%;
}

/* ---------- greinar ---------- */

.article-list {
    list-style: none;
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.articleLink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    padding: 20px 24px;
    min-height: 60px;
    font-size: 1.2rem;
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: border-color 0.2s ease-out, background 0.2s ease-out;
}

.articleLink {
    transition: border-color 0.2s ease-out, background 0.2s ease-out, transform 0.2s ease-out;
}

.articleLink:hover {
    border-color: var(--navy);
    background: var(--cream);
    transform: translateY(-2px);
}

.articleLink .badge {
    flex: none;
    background: var(--navy-soft);
    color: var(--navy);
    text-decoration: none;
}

/* ---------- footer ---------- */

.site-footer {
    background: var(--navy-night);
    color: #ffffff;
    padding: 44px 0 36px;
    margin-top: 72px;
}

.site-footer__links {
    display: flex;
    justify-content: center;
    gap: 16px 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.site-footer__links a {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.site-footer__bar {
    display: flex;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 24px;
    font-size: 1.1rem;
    color: #c7cce6;
}

.site-footer__bar a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------- sticky booking bar (mobile only) ---------- */

.booking-bar {
    display: none;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
    .about__grid,
    .ceo__grid,
    .info-cols {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ceo__grid img {
        max-width: 420px;
    }
}

@media (max-width: 700px) {
    :root {
        --nav-height: 96px;
    }

    body {
        font-size: 1.15rem;
        /* room for the fixed booking bar */
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .section {
        padding: 40px 0;
    }

    .section--trips {
        padding-top: 24px;
    }

    .auto__container {
        padding: 0 18px;
    }

    .site-top__inner {
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .site-logo img {
        height: 32px;
    }

    .site-nav {
        justify-content: center;
        gap: 2px 18px;
    }

    .site-nav a {
        font-size: 1.05rem;
    }

    /* the booking bar handles contact on mobile */
    .site-nav a.site-nav__contact {
        display: none;
    }

    .hero-wrap {
        padding-top: 16px;
    }

    .media-card {
        height: 210px;
        border-radius: 18px;
    }

    .hero-card__head {
        left: -30px;
        height: 140%;
    }

    .hero-stats {
        margin: -30px 8px 0;
        padding: 16px 18px;
        gap: 14px;
    }

    .trip-stats {
        gap: 10px;
    }

    .trip-stats__item {
        padding: 10px 16px 10px 12px;
        flex: 1 1 100%;
    }

    .day summary,
    .day--static {
        grid-template-columns: 40px 1fr;
        column-gap: 12px;
        padding: 14px 52px 14px 14px;
    }

    .day__num {
        width: 40px;
        height: 40px;
        font-size: 1.02rem;
    }

    .day__body {
        padding-left: 18px;
    }

    .day__body--thumb {
        grid-template-columns: 1fr;
    }

    .day__thumb {
        width: 100%;
        height: 200px;
    }

    .price-list {
        padding: 4px 18px;
    }

    .tripCard__foot {
        flex-wrap: wrap;
    }

    .page-head {
        padding: 28px 0 0;
    }

    .trip-head {
        padding: 12px 0 0;
    }

    .trip-head__info {
        padding: 20px 0 0;
    }

    .trip-grid {
        gap: 18px;
    }

    .tripCard__media {
        aspect-ratio: 16 / 9;
    }

    .featuredCard {
        padding: 20px;
        gap: 16px;
    }

    .day summary,
    .day--static {
        padding: 16px 56px 16px 18px;
    }

    .day summary::after {
        right: 22px;
    }

    .day__body {
        padding: 4px 18px 18px;
    }

    .mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 180px 90px;
        height: auto;
        gap: 4px;
        border-radius: 18px;
    }

    .mosaic__tile:first-child {
        grid-row: 1;
        grid-column: 1 / -1;
    }

    .contact-block {
        padding: 22px 20px;
    }

    .tripForm {
        padding: 22px 18px;
    }

    .tripForm__row {
        flex-direction: column;
        gap: 0;
    }

    .site-footer {
        margin-top: 48px;
    }

    .site-footer__bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .booking-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 60;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--navy-night);
        box-shadow: 0 -2px 14px rgba(8, 12, 40, 0.4);
        animation: bar-up 0.3s ease-out both;
    }

    .booking-bar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        border-radius: 999px;
        font-size: 1.15rem;
        text-decoration: none;
    }

    .booking-bar__cta {
        background: var(--gold);
        color: #ffffff;
        font-weight: 600;
    }

    .booking-bar__cta:hover {
        background: #c69c2c;
    }
}
