:root {
    --ink: #173c32;
    --forest: #1d5142;
    --forest-dark: #12352d;
    --clay: #c96f4a;
    --paper: #f4f0e7;
    --sand: #e5dccb;
    --line: rgba(23, 60, 50, 0.16);
    --shadow: 0 18px 45px rgba(18, 53, 45, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.site-shell { min-height: 100vh; overflow: hidden; }
.page-width { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: relative;
    z-index: 10;
    background: var(--forest-dark);
    color: var(--paper);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img { width: 76px; height: 76px; object-fit: contain; }
.brand-copy { border-left: 1px solid rgba(244, 240, 231, .35); padding-left: 12px; }
.brand-name { display: block; font-size: 1.15rem; letter-spacing: .04em; }
.brand-tag { display: block; color: #c7d7c7; font: .67rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    padding: 10px 13px;
    color: var(--paper);
    font: .76rem/1 'Trebuchet MS', sans-serif;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid transparent;
}
.nav a:hover, .nav a:focus-visible { border-color: rgba(244, 240, 231, .55); color: white; }
.nav a[aria-current='page'] { border-color: var(--clay); color: white; }

.hero {
    position: relative;
    min-height: 610px;
    display: grid;
    align-items: end;
    background: linear-gradient(90deg, rgba(12, 45, 36, .86), rgba(12, 45, 36, .22) 65%, rgba(12, 45, 36, .1)), url('images/about/randyclub.jpg') center/cover;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 45, 36, .75), transparent 50%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 90px 0 76px; max-width: 660px; color: white; }
.eyebrow { margin: 0 0 16px; color: #f2a17c; font: .72rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: normal; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .94; letter-spacing: -.03em; }
.hero-lede { max-width: 510px; margin-bottom: 30px; color: #f0eee4; font-size: 1.22rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-block; padding: 13px 19px; background: var(--clay); color: white; font: .74rem/1 'Trebuchet MS', sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.button:hover, .button:focus-visible { background: #df8860; }
.button--quiet { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.button--quiet:hover, .button--quiet:focus-visible { background: rgba(255,255,255,.12); }

.hours-panel { background: var(--forest); color: white; }
.hours-summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 0; }
.hours-label, .day-cell { padding: 20px 10px; border-right: 1px solid rgba(255,255,255,.14); }
.hours-label { display: flex; align-items: center; gap: 10px; padding: 0; color: #f2a17c; font: .72rem/1 'Trebuchet MS', sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.hours-label::before { content: ''; width: 8px; height: 8px; background: var(--clay); border-radius: 50%; }
.day-cell { text-align: center; }
.day { display: block; color: #b9d0c4; font: .66rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .12em; }
.time { display: block; margin-top: 5px; font-size: .98rem; }
.hours-summary strong { display: block; margin-top: 3px; color: white; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: normal; }
.hours-frequency { display: block; color: #b9d0c4; font: .66rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.location-strip { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; color: #d4e0d6; font: .72rem/1.4 'Trebuchet MS', sans-serif; letter-spacing: .04em; }
.location-strip a { color: #f2a17c; text-decoration: none; text-transform: uppercase; white-space: nowrap; }

.section { padding: 100px 0; }
.section--sand { background: var(--sand); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 14px; color: var(--forest-dark); font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: .98; letter-spacing: -.03em; }
.section-heading p { max-width: 590px; margin-bottom: 0; color: #4a6259; font-size: 1.1rem; }
.kicker { margin-bottom: 10px; color: var(--clay); font: .7rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .16em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(35px, 7vw, 100px); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split-copy h2 { margin-bottom: 18px; color: var(--forest-dark); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.split-copy p { color: #4a6259; font-size: 1.06rem; }
.photo-frame { position: relative; width: min(100%, 520px); margin-inline: auto; padding: 0 0 18px 18px; }
.photo-frame::before { content: ''; position: absolute; inset: 18px 0 0 0; border: 1px solid var(--clay); z-index: 0; }
.photo-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.25; object-fit: cover; }
body:has(img[alt='PING Top 100 Club Fitter award']) .photo-frame::before { top: -18px; }
body:has(img[alt='PING Top 100 Club Fitter award']) .photo-frame { padding-left: 9px; padding-right: 9px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px; background: var(--paper); border-top: 4px solid var(--clay); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: 10px; color: var(--forest-dark); font-size: 1.55rem; }
.feature p { margin-bottom: 0; color: #4a6259; font-size: .98rem; }
.feature-number { margin-bottom: 26px; color: var(--clay); font: .75rem/1 'Trebuchet MS', sans-serif; letter-spacing: .14em; }

.carousel { position: relative; }
.carousel__track-container { position: relative; overflow: hidden; aspect-ratio: 16 / 8; background: var(--forest-dark); }
.carousel__track { position: relative; height: 100%; margin: 0; padding: 0; list-style: none; transition: transform 300ms ease; }
.carousel__slide { position: absolute; inset: 0 auto 0 0; width: 100%; }
.carousel__image { width: 100%; height: 100%; object-fit: cover; }
.carousel__button { position: absolute; top: calc(50% - 24px); z-index: 2; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.65); background: rgba(18,53,45,.75); color: white; cursor: pointer; }
.carousel__button--left { left: 16px; }
.carousel__button--right { right: 16px; }
.carousel__button img { width: 12px; height: 24px; margin: auto; filter: brightness(0) invert(1); }
.carousel__button--right img { transform: rotate(180deg); }
.carousel__nav { display: flex; justify-content: center; gap: 8px; padding: 16px 0 0; }
.carousel__indicator { width: 30px; height: 4px; padding: 0; border: 0; background: #b8c3b9; cursor: pointer; }
.carousel__indicator.current-slide { background: var(--clay); }
.carousel button:focus-visible, .nav a:focus-visible, .button:focus-visible { outline: 3px solid #f2a17c; outline-offset: 3px; }
.is-hidden { display: none; }

.badge { width: min(240px, 70%); margin: 26px auto 0; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font: .75rem/1 'Trebuchet MS', sans-serif; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.social-link img { width: 24px; height: 24px; }
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; }
.social-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--paper); color: var(--forest-dark); text-decoration: none; box-shadow: var(--shadow); }
.social-card:hover, .social-card:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.social-card img { width: 54px; height: 54px; object-fit: contain; }
.social-card strong, .social-card small { display: block; }
.social-card strong { font-size: 1.2rem; font-weight: normal; }
.social-card small { margin-top: 4px; color: #4a6259; font: .68rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .08em; text-transform: uppercase; }

.timeline { display: grid; gap: 18px; }
.story { display: grid; grid-template-columns: 120px 220px 1fr; gap: 30px; padding: 26px 0; border-top: 1px solid var(--line); }
.story-year { color: var(--clay); font: .8rem/1.2 'Trebuchet MS', sans-serif; letter-spacing: .1em; }
.story-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.story h3 { margin-bottom: 8px; color: var(--forest-dark); font-size: 1.5rem; }
.story p { max-width: 690px; margin-bottom: 0; color: #4a6259; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery-card { background: white; box-shadow: var(--shadow); }
.gallery-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.gallery-card-body { padding: 24px; }
.gallery-card h3 { margin-bottom: 8px; color: var(--forest-dark); font-size: 1.55rem; }
.gallery-card p { margin-bottom: 20px; color: #4a6259; }
.text-link { color: var(--clay); font: .72rem/1 'Trebuchet MS', sans-serif; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: '  ->'; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { padding: 26px; background: var(--forest); color: white; }
.contact-card img { width: 38px; height: 38px; object-fit: contain; margin-bottom: 24px; filter: brightness(0) invert(1); }
.contact-card h2 { margin-bottom: 8px; font-size: 1.5rem; }
.contact-card p { margin-bottom: 0; color: #d4e0d6; }
.contact-card a { color: #f2a17c; }
.location-card { min-height: 320px; display: flex; flex-direction: column; justify-content: center; padding: 42px; background: var(--forest-dark); color: #d4e0d6; }
.location-card-label, .location-card-coordinates { color: #f2a17c; font: .7rem/1.3 'Trebuchet MS', sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.location-card h3 { margin: 12px 0 10px; color: white; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.location-card p { margin-bottom: 20px; }
.location-card-coordinates { margin-bottom: 26px; }
.location-card .button { align-self: flex-start; }

.site-footer { padding: 38px 0; background: var(--forest-dark); color: #c7d7c7; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-wrap p { margin: 0; font: .72rem/1.4 'Trebuchet MS', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.footer-wrap p:last-child { color: transparent; font-size: 0; }
.footer-wrap p:last-child::after { content: 'Independent service since 2004'; color: #c7d7c7; font: .72rem/1.4 'Trebuchet MS', sans-serif; letter-spacing: .08em; }

@media (max-width: 760px) {
    .page-width { width: min(100% - 28px, 600px); }
    .nav-wrap { min-height: 74px; align-items: center; gap: 8px; padding: 14px 0; }
    .brand { flex-shrink: 0; }
    .brand img { width: 62px; height: 62px; }
    .brand-copy { display: none; }
    .nav { gap: 0; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; }
    .nav a { padding: 8px 5px; font-size: .58rem; letter-spacing: .06em; }
    .hero { min-height: 590px; background-position: 63% center; }
    .hero-content { padding: 70px 0 48px; }
    h1 { font-size: clamp(3rem, 15vw, 5rem); }
    .hero-lede { font-size: 1.05rem; }
    .hours-summary { align-items: flex-start; flex-direction: column; gap: 12px; padding: 18px 0; }
    .location-strip { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px; }
    .section { padding: 68px 0; }
    .split, .split--reverse { grid-template-columns: 1fr; gap: 35px; }
    .split--reverse .split-copy { order: -1; }
    .feature-grid, .contact-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .feature { padding: 22px; }
    .carousel__track-container { aspect-ratio: 1 / 1; }
    .carousel__button { width: 40px; height: 40px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .story { grid-template-columns: 1fr; gap: 12px; }
    .story-image { max-width: 420px; }
    .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 761px) and (max-width: 980px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .carousel__track { transition: none; }
}