/* ==========================================================================
   Hibiscus Gallery — design system
   One file for the whole public website. Served at /css/design.css (route in
   routes/web.php) because the live host does not serve new files from public/.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --sky-mist: #E3F5FF;
    --ocean-navy: #0B2540;
    --caribbean-blue: #0B6FA4;
    --hibiscus-coral: #F26B5B;
    --line: #CFE6F3;
    --slate: #4A5D70;
    --white: #FFFFFF;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1240px;
    --header-h: 88px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Older templates use these names: map them onto the new palette so every
       page follows the new colours while it is being converted. */
    --color-primary: var(--ocean-navy);
    --color-dark: var(--ocean-navy);
    --color-secondary: var(--caribbean-blue);
    --color-gold: var(--caribbean-blue);
    --color-light: var(--sky-mist);
    --color-page-bg: var(--white);
    --color-heading: var(--ocean-navy);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
/* Small reset (replaces the one Tailwind's CDN script used to inject). */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { margin: 0; padding: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; }
img, svg, video { vertical-align: middle; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

/* Footer stays at the bottom on short pages. */
.hg-body { min-height: 100vh; display: flex; flex-direction: column; }
.hg-main { flex: 1 0 auto; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ocean-navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.12;
    color: var(--ocean-navy);
}

a { color: var(--caribbean-blue); text-decoration: none; }
a:hover { text-decoration: none; }

img { max-width: 100%; height: auto; }

:focus-visible {
    outline: 2px solid var(--caribbean-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--sky-mist); color: var(--ocean-navy); }

.hg-sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hg-skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ocean-navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
    text-decoration: none; font-weight: 600;
}
.hg-skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.hg-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .hg-container { padding: 0 32px; } }

.hg-section { padding: 64px 0; }
@media (min-width: 1024px) { .hg-section { padding: 96px 0; } }
.hg-section--mist { background: var(--sky-mist); }
.hg-section--navy { background: var(--ocean-navy); color: var(--white); }
.hg-section--navy h1, .hg-section--navy h2, .hg-section--navy h3 { color: var(--white); }
.hg-section--line { border-top: 1px solid var(--line); }

.hg-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.hg-section-head--center { flex-direction: column; align-items: center; text-align: center; }

.hg-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479px) { .hg-grid--1-mobile { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .hg-grid--3, .hg-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .hg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   4. Typography helpers
   -------------------------------------------------------------------------- */
.hg-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--caribbean-blue);
}
.hg-eyebrow--slate { color: var(--slate); letter-spacing: 0.36em; }
.hg-section--navy .hg-eyebrow { color: var(--sky-mist); }

.hg-coral-line { display: block; width: 56px; height: 2px; background: var(--hibiscus-coral); border: 0; margin: 20px 0; }
.hg-coral-line--center { margin-left: auto; margin-right: auto; }

.hg-h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
.hg-h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.hg-h3 { font-size: 1.5rem; }
.hg-lead { font-size: 1.125rem; color: var(--slate); max-width: 40rem; }
.hg-muted { color: var(--slate); }

.hg-prose { color: var(--slate); font-size: 1.0625rem; line-height: 1.75; }
.hg-prose p { margin: 0 0 1.1em; }
.hg-prose h2, .hg-prose h3 { margin: 1.6em 0 .5em; }
.hg-prose a { color: var(--caribbean-blue); }
.hg-prose ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1.1em; }
.hg-prose ol { list-style: decimal; padding-left: 1.25rem; margin: 0 0 1.1em; }
.hg-prose img { border-radius: var(--radius); margin: 1.5em 0; }
.hg-prose blockquote { border-left: 2px solid var(--hibiscus-coral); padding-left: 1rem; font-style: italic; }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.hg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px;
    border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hg-btn:hover { transform: translateY(-1px); }
.hg-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.hg-btn--primary { background: var(--ocean-navy); color: var(--white); }
.hg-btn--primary:hover { background: #12355a; color: var(--white); }
.hg-btn--outline { background: transparent; color: var(--ocean-navy); border-color: var(--ocean-navy); }
.hg-btn--outline:hover { background: var(--ocean-navy); color: var(--white); }
.hg-btn--accent { background: var(--caribbean-blue); color: var(--white); }
.hg-btn--accent:hover { background: #095d8a; color: var(--white); }
.hg-btn--light { background: var(--white); color: var(--ocean-navy); }
.hg-btn--light:hover { background: var(--sky-mist); color: var(--ocean-navy); }
.hg-btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.hg-btn--ghost-light:hover { background: var(--white); color: var(--ocean-navy); }
.hg-btn--block { display: flex; width: 100%; }
.hg-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }

.hg-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    font-weight: 600; font-size: 15px; color: var(--caribbean-blue); text-decoration: none;
}
.hg-link:hover { color: var(--ocean-navy); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.hg-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--sky-mist);
    border-bottom: 1px solid var(--line);
}
.hg-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

/* Shows only the visible part of an image with empty transparent margins (App\Support\ImageTrim
   measures it), so a logo fills its space and stays as sharp as possible. */
.hg-trim { position: relative; display: block; overflow: hidden; aspect-ratio: var(--trim-ratio, auto); }
.hg-trim > img { position: absolute; display: block; max-width: none; height: auto; width: var(--trim-w); left: var(--trim-x); top: var(--trim-y); }

.hg-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.hg-logo__img { width: 205px; }
.hg-logo__img img { mix-blend-mode: multiply; }
.hg-logo__img--plain { width: auto; height: 56px; }
.hg-logo__img--plain img { position: static; height: 100%; width: auto; }
.hg-logo__text { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ocean-navy); }

.hg-nav { display: none; align-items: center; gap: 4px; }
.hg-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ocean-navy); text-decoration: none;
    border-radius: 999px; transition: background-color .2s var(--ease);
}
.hg-nav a:hover { background: rgba(11, 111, 164, .08); }
.hg-nav a[aria-current="page"] { color: var(--caribbean-blue); }
.hg-nav a[aria-current="page"]::after {
    content: ''; display: block; width: 18px; height: 2px; background: var(--hibiscus-coral);
    position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
}
.hg-nav a { position: relative; }

.hg-header__actions { display: none; align-items: center; gap: 12px; }

.hg-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--white); color: var(--ocean-navy); cursor: pointer;
}
.hg-burger svg { width: 22px; height: 22px; }

.hg-mobile-nav { border-top: 1px solid var(--line); background: var(--sky-mist); padding: 8px 0 20px; }
.hg-mobile-nav[hidden] { display: none; }
.hg-mobile-nav a:not(.hg-btn) {
    display: flex; align-items: center; min-height: 48px; padding: 0 4px;
    font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ocean-navy); text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.hg-mobile-nav a[aria-current="page"] { color: var(--caribbean-blue); }
.hg-mobile-nav .hg-btn { margin-top: 16px; }

@media (min-width: 1024px) {
    .hg-nav, .hg-header__actions { display: flex; }
    .hg-burger, .hg-mobile-nav { display: none !important; }
    .hg-logo__img { width: 268px; }
}

/* Floating round buttons (cookie settings, back to top). Navy on light areas,
   white on dark areas (footer, navy bands); see partials/floating-buttons. */
.hg-fab {
    position: fixed; bottom: 24px; z-index: 90;
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid transparent; cursor: pointer;
    background: var(--ocean-navy); color: var(--white);
    box-shadow: 0 6px 18px rgba(11, 37, 64, .28);
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.hg-fab:hover { transform: translateY(-2px); }
.hg-fab[hidden] { display: none; }
.hg-fab--left { left: 24px; }
.hg-fab--right { right: 24px; }
.hg-fab.is-on-dark { background: var(--white); color: var(--ocean-navy); border-color: rgba(255,255,255,.6); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.hg-fab:focus-visible { outline: 2px solid var(--hibiscus-coral); outline-offset: 3px; }
@media (max-width: 560px) { .hg-fab { bottom: 16px; width: 44px; height: 44px; } .hg-fab--left { left: 16px; } .hg-fab--right { right: 16px; } }

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.hg-footer { background: var(--ocean-navy); color: rgba(255,255,255,.78); padding: 64px 0 32px; }
.hg-footer a { color: var(--white); text-decoration: none; }
.hg-footer a:hover { opacity: .75; }
.hg-footer h2 {
    font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--sky-mist); margin: 0 0 16px;
}
.hg-footer__intro { text-align: center; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
/* The icon file has a soft glow on a transparent background: show the flower and fade the glow out. */
.hg-footer__icon {
    width: 120px; margin: 0 auto 10px;
    -webkit-mask-image: radial-gradient(ellipse closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 80%, transparent 100%);
}
.hg-footer__intro .hg-footer__brand { font-size: 34px; margin: 0; color: var(--white); }
.hg-footer__intro p:not(.hg-footer__brand) { max-width: 30rem; margin: 6px auto 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.82); }
.hg-footer__social { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.hg-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: var(--white); }
.hg-footer__social a:hover { background: var(--white); color: var(--ocean-navy); text-decoration: none; }
.hg-footer__social svg { width: 18px; height: 18px; }
.hg-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hg-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hg-footer__grid { grid-template-columns: 1fr 1fr 1fr 1.6fr; } }
.hg-footer__brand { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--white); line-height: 1.1; }
/* Foldable footer columns (phones); plain columns from tablet up. */
.hg-footer__group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.hg-footer__group summary::-webkit-details-marker { display: none; }
.hg-footer__group summary h2 { margin: 0; }
@media (max-width: 767px) {
    .hg-footer__grid { gap: 0; }
    .hg-footer__group { border-bottom: 1px solid rgba(255,255,255,.14); }
    .hg-footer__group summary { min-height: 56px; }
    .hg-footer__group summary::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid var(--sky-mist); border-bottom: 1.5px solid var(--sky-mist); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); }
    .hg-footer__group[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
    .hg-footer__group .hg-footer__list { padding-bottom: 16px; }
    .hg-footer__grid > div:last-child { padding-top: 28px; }
    .hg-footer__intro { margin-bottom: 8px; }
    /* Room under the copyright line so the round buttons never cover it. */
    .hg-footer { padding-bottom: 88px; }
}
@media (min-width: 768px) {
    .hg-footer__group summary { cursor: default; margin-bottom: 16px; }
}
.hg-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hg-footer__list a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; color: rgba(255,255,255,.86); }
.hg-footer__bottom {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.6);
}
.hg-footer__bottom a { color: rgba(255,255,255,.8); }

/* --------------------------------------------------------------------------
   8. Forms
   -------------------------------------------------------------------------- */
.hg-label { display: block; font-size: 13px; font-weight: 600; color: var(--ocean-navy); margin-bottom: 6px; }
.hg-label small { font-weight: 400; color: var(--slate); }
.hg-input, .hg-textarea, .hg-select {
    display: block; width: 100%; min-height: 48px; padding: 12px 16px;
    font: inherit; font-size: 15px; color: var(--ocean-navy);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.hg-textarea { min-height: 120px; resize: vertical; }
.hg-input::placeholder, .hg-textarea::placeholder { color: #7d8fa0; }
.hg-input:focus, .hg-textarea:focus, .hg-select:focus {
    outline: none; border-color: var(--caribbean-blue); box-shadow: 0 0 0 3px rgba(11, 111, 164, .15);
}
.hg-field { margin-bottom: 18px; }
.hg-field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hg-field-row { grid-template-columns: 1fr 1fr; } }
.hg-error { margin-top: 6px; font-size: 13px; color: #b42318; }
.hg-hp { position: absolute !important; left: -9999px; }

.hg-footer .hg-input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: var(--white); }
.hg-footer .hg-input::placeholder { color: rgba(255,255,255,.55); }
.hg-footer .hg-input:focus { border-color: var(--sky-mist); box-shadow: 0 0 0 3px rgba(227,245,255,.18); }

.hg-alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 20px; }
.hg-alert--success { background: #ECF8F1; color: #1F6B45; border: 1px solid #C6E9D5; }
.hg-alert--error { background: #FEF1F0; color: #9E2A1F; border: 1px solid #F8D3CF; }
.hg-footer .hg-alert--success { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.hg-card { position: relative; display: flex; flex-direction: column; color: var(--ocean-navy); text-decoration: none; }
.hg-card__media {
    position: relative; display: block; overflow: hidden; border-radius: var(--radius);
    background: var(--sky-mist); aspect-ratio: 4 / 5;
}
.hg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hg-card:hover .hg-card__media img { transform: scale(1.03); }
.hg-card__media--square { aspect-ratio: 1 / 1; }
.hg-card__media--wide { aspect-ratio: 16 / 10; }
.hg-card__body { padding-top: 14px; display: grid; gap: 2px; }
.hg-card__artist { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--caribbean-blue); }
.hg-card__title { font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; color: var(--ocean-navy); margin-top: 2px; }
.hg-card__title em { font-style: normal; color: var(--slate); font-weight: 400; }
.hg-card__meta { font-size: 14px; line-height: 1.5; color: var(--slate); }
.hg-card__price { font-size: 15px; font-weight: 600; color: var(--ocean-navy); margin-top: 4px; }
.hg-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.hg-card a { text-decoration: none; }
.hg-card__footer { flex-wrap: wrap; row-gap: 0; }
@media (max-width: 479px) {
    .hg-card__title { font-size: 15px; }
    .hg-card__artist { font-size: 11px; letter-spacing: .12em; }
    .hg-card__meta, .hg-card__price { font-size: 13px; }
}
.hg-card a.hg-card__title:hover, .hg-card a.hg-card__artist:hover { color: var(--caribbean-blue); }

.hg-status {
    position: absolute; top: 12px; left: 12px; z-index: 5;
    padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    background: var(--white); color: var(--ocean-navy);
}
.hg-status--sold { background: var(--ocean-navy); color: var(--white); }
.hg-status--reserved { background: var(--caribbean-blue); color: var(--white); }
.hg-status--new { display: inline-flex; align-items: center; gap: 6px; }
.hg-status--new::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hibiscus-coral); }

/* Several badges on one card stack side by side. */
.hg-badges { position: absolute; top: 12px; left: 12px; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; }
.hg-badges .hg-status { position: static; box-shadow: 0 1px 2px rgba(11, 37, 64, .12); }

.hg-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--caribbean-blue); }
.hg-placeholder svg { width: 40px; height: 40px; opacity: .45; }

/* Artist cards */
.hg-artist-card .hg-card__media { aspect-ratio: 1 / 1; border-radius: 50%; }
.hg-artist-card .hg-card__body { text-align: center; }

/* Chips / filters */
.hg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hg-chip {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--white); color: var(--ocean-navy);
    font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.hg-chip:hover { border-color: var(--caribbean-blue); }
.hg-chip[aria-pressed="true"], .hg-chip.is-active { background: var(--ocean-navy); border-color: var(--ocean-navy); color: var(--white); }

/* Breadcrumb */
.hg-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); padding: 18px 0; }
.hg-breadcrumb a { color: var(--slate); text-decoration: none; }
.hg-breadcrumb a:hover { color: var(--caribbean-blue); }
.hg-breadcrumb [aria-current] { color: var(--ocean-navy); font-weight: 500; }

/* Expandable sections */
.hg-details { border-top: 1px solid var(--line); }
.hg-details:last-of-type { border-bottom: 1px solid var(--line); }
.hg-details summary {
    display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 15px; color: var(--ocean-navy);
}
.hg-details summary::-webkit-details-marker { display: none; }
.hg-details summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--caribbean-blue); }
.hg-details[open] summary::after { content: '–'; }
.hg-details__body { padding: 0 0 20px; }

/* Info box */
.hg-info { border: 1px solid var(--line); border-radius: var(--radius); background: #F7FBFE; padding: 18px 20px; display: grid; gap: 12px; }
.hg-info__item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--slate); }
.hg-info__item svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--caribbean-blue); margin-top: 2px; }
.hg-info__item strong { color: var(--ocean-navy); font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Home
   -------------------------------------------------------------------------- */

/* Hero: text only, centred */
.hg-hero { background: var(--sky-mist); padding: 80px 0 88px; text-align: center; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .hg-hero { padding: 112px 0 120px; } }
.hg-hero__name {
    font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1;
    font-size: clamp(3.25rem, 9vw, 6.5rem); color: var(--ocean-navy); margin: 14px 0 0;
}
.hg-hero__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 500; max-width: 26ch; margin: 0 auto; text-wrap: balance; color: var(--ocean-navy); }
.hg-hero__lead { margin: 16px auto 0; color: var(--slate); font-size: 1.125rem; max-width: 36rem; }
.hg-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Carousel: 1 card on phones, 2 on tablets, 3 on desktop; arrows move one card. */
.hg-carousel { position: relative; }
.hg-carousel__track {
    --per-view: 1; --gap: 24px;
    display: grid; grid-auto-flow: column; gap: var(--gap);
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px;
}
.hg-carousel__track::-webkit-scrollbar { display: none; }
.hg-carousel__track > * { position: relative; scroll-snap-align: start; min-width: 0; }
@media (min-width: 768px) { .hg-carousel__track { --per-view: 2; } }
@media (min-width: 1100px) { .hg-carousel__track { --per-view: 3; --gap: 28px; } }
.hg-carousel__nav { display: flex; gap: 10px; }
.hg-carousel__btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 999px; border: 1px solid var(--ocean-navy); background: var(--white); color: var(--ocean-navy); cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.hg-carousel__btn:hover:not(:disabled) { background: var(--ocean-navy); color: var(--white); }
.hg-carousel__btn:disabled { opacity: .3; cursor: default; }
.hg-carousel__btn svg { width: 20px; height: 20px; }
.hg-carousel__status { font-size: 14px; color: var(--slate); min-width: 4.5em; text-align: center; align-self: center; }

/* How it works: numbered process cards */
.hg-process { display: grid; gap: 20px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 900px) { .hg-process { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.hg-process__card {
    position: relative; display: flex; flex-direction: column; gap: 14px;
    padding: 32px 28px 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
}
.hg-process__top { display: flex; align-items: center; justify-content: space-between; }
.hg-process__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--sky-mist); color: var(--caribbean-blue);
}
.hg-process__icon svg { width: 26px; height: 26px; }
.hg-process__num { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--line); }
.hg-process__card h3 { font-size: 1.625rem; margin: 6px 0 0; }
.hg-process__card p { margin: 0; color: var(--slate); }
.hg-process__card::after { content: ''; position: absolute; left: 28px; bottom: 0; width: 56px; height: 2px; background: var(--hibiscus-coral); }

/* Journal: editorial post cards */
.hg-post {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
    color: var(--ocean-navy); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.hg-post:hover { border-color: var(--caribbean-blue); transform: translateY(-2px); }
.hg-post__media { aspect-ratio: 16 / 9; background: var(--sky-mist); overflow: hidden; }
.hg-post__media img { width: 100%; height: 100%; object-fit: cover; }
.hg-post__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.hg-post__top { display: flex; align-items: center; gap: 14px; }
.hg-post__date {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
    width: 58px; height: 58px; border-radius: var(--radius-sm); background: var(--ocean-navy); color: var(--white); line-height: 1;
}
.hg-post__date strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.hg-post__date span { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-top: 3px; color: var(--sky-mist); }
.hg-post__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.hg-post__excerpt { color: var(--slate); font-size: 15px; margin: 0; }
.hg-post__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--caribbean-blue); }
.hg-post:hover .hg-post__more { color: var(--ocean-navy); }

/* Call-to-action band */
.hg-cta { display: grid; gap: 24px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--sky-mist); border: 1px solid var(--line); }
@media (min-width: 900px) { .hg-cta { grid-template-columns: 1fr auto; padding: 56px; } }
.hg-cta h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: 0 0 8px; max-width: 24ch; }
.hg-cta p { margin: 0; color: var(--slate); max-width: 36rem; }

/* Exhibition band */
.hg-feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hg-feature { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.hg-feature__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: rgba(255,255,255,.06); }
.hg-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.hg-feature p { color: rgba(255,255,255,.8); }

/* --------------------------------------------------------------------------
   11. Motion: respect "reduce motion"
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
