:root {
    --cream: #f8f4ec;
    --ink: #183a2c;
    --gold: #9a641d;
    --text: #171914
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif
}

main {
    overflow: hidden;
    background: radial-gradient(circle at 52% 25%, #fffdfa 0, #faf7f0 45%, #f5efe4 100%)
}

.site-header {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 4.4% 11px 4%;
    position: relative;
    z-index: 5
}

.brand {
    color: var(--ink);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1
}

.brand span {
    font-family: "Segoe Script", "Lucida Handwriting", cursive;
    font-size: 37px;
    letter-spacing: -2.5px;
    transform: rotate(-2deg)
}

.brand small {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 5px
}

nav {
    display: flex;
    gap: 36px;
    align-items: center;
    padding-right: 1%
}

nav a {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    padding: 14px 5px 10px;
    white-space: nowrap
}

nav a.active {
    border-bottom: 2px solid #29483b
}

.hero {
    min-height: 785px;
    display: grid;
    grid-template-columns: 42% 58%;
    position: relative;
    padding-left: 6%
}

.hero-copy {
    padding-top: 35px;
    padding-bottom: 48px;
    z-index: 2
}

h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 49px;
    line-height: 1.13;
    font-weight: 400;
    letter-spacing: -1.5px
}

.script {
    font-family: "Segoe Script", "Lucida Handwriting", cursive;
    font-weight: 400
}

.accent {
    color: var(--gold);
    font-size: 40px;
    margin: 22px 0 28px -2px;
    transform: rotate(-2deg)
}

.intro {
    font-size: 14px;
    line-height: 1.58;
    max-width: 410px;
    margin: 0
}

.intro p {
    margin: 0 0 12px
}

.actions {
    display: flex;
    gap: 15px;
    margin-top: 28px
}

.button {
    text-decoration: none;
    border-radius: 3px;
    padding: 13px 18px;
    font-size: 13px;
    transition: transform .2s, box-shadow .2s
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px #1e39252b
}

.primary {
    color: white;
    background: #355544;
    border: 1px solid #355544
}

.secondary {
    color: #23342b;
    border: 1px solid #355544;
    background: #faf8f2cc
}

.hero-art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 64%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply
}

.services {
    min-height: 425px;
    display: grid;
    grid-template-columns: .95fr .95fr 1.4fr;
    padding: 42px 5.5% 44px;
    background: #faf6efc9;
    border-top: 1px solid #eee6d8;
    border-bottom: 1px solid #eee6d8
}

.services article {
    text-align: center;
    padding: 0 38px;
    position: relative
}

.services article+article:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #dfd5c5
}

.services img {
    width: 150px;
    height: 96px;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    margin: -15px auto 5px
}

.services h2 {
    margin: 0 0 14px;
    font: 400 18px Georgia, serif;
    color: var(--ink)
}

.services article.gold h2 {
    color: var(--gold)
}

.services article>p {
    max-width: 290px;
    margin: auto;
    font-size: 14px;
    line-height: 1.55
}

.services .learning {
    padding-left: 48px;
    padding-right: 30px
}

.learning>p {
    max-width: 430px !important
}

.course-list {
    max-width: 430px;
    margin: 22px auto 0;
    text-align: left
}

.course {
    border: 1px solid #d8c8ae;
    background: #fffaf1aa;
    padding: 18px 20px
}

.course span {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase
}

.course h3 {
    margin: 6px 0 5px;
    color: var(--ink);
    font: 600 20px/1.2 Georgia, "Times New Roman", serif
}

.course p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5
}

.course a,
.horse-offer a {
    display: inline-block;
    color: #fff;
    background: #355544;
    text-decoration: none;
    border: 1px solid #355544;
    border-radius: 3px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700
}

.course a:hover,
.horse-offer a:hover {
    background: #294638
}

.quote {
    height: 405px;
    display: grid;
    grid-template-columns: 40% 60%;
    position: relative;
    padding-left: 7%
}

.horse-offer {
    padding-top: 78px;
    padding-right: 42px;
    color: var(--ink);
    z-index: 2
}

.horse-offer .eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px
}

.horse-offer h2 {
    margin: 9px 0 15px;
    font: 400 39px/1.12 Georgia, "Times New Roman", serif
}

.horse-offer p {
    max-width: 390px;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.65
}

.horse-offer a {
    padding: 12px 16px
}

.quote>img {
    position: absolute;
    right: 0;
    top: 0;
    width: 64%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    mix-blend-mode: multiply
}

.contact-footer {
    background: #47573a;
    color: #fffaf0
}

.contact-panel {
    min-height: 365px;
    display: grid;
    grid-template-columns: 47% 53%;
    gap: 7%;
    padding: 68px 11.5% 58px;
    background: linear-gradient(135deg, #3e5035 0%, #4e6040 62%, #665139 135%);
    box-shadow: inset 0 3px 0 #c87936
}

.contact-invite .eyebrow,
.contact-row>span {
    color: #e4ad52;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px
}

.contact-invite h2 {
    margin: 8px 0 4px;
    color: #fff8e9;
    font: 400 58px/1.04 Georgia, "Times New Roman", serif;
    letter-spacing: -2px
}

.contact-invite p {
    max-width: 485px;
    margin: 0;
    color: #f5ebd7;
    font-size: 16px;
    line-height: 1.65
}

.contact-details {
    padding-top: 8px
}

.contact-row {
    min-height: 72px;
    display: grid;
    grid-template-columns: 140px 1fr 20px;
    align-items: center;
    border-bottom: 1px solid #eadfc84f
}

.contact-row strong {
    font-size: 14px
}

.contact-row b {
    color: #df813d;
    font-size: 15px
}

.footer-bar {
    min-height: 125px;
    background: #f3eadb;
    color: #253721;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 24px 4.7%;
    border-top: 1px solid #d8b47a
}

.footer-brand {
    display: flex;
    flex-direction: column
}

.footer-brand>span {
    font: italic 24px Georgia, "Times New Roman", serif
}

.footer-brand small {
    margin-top: 9px;
    color: #8c5a2d;
    font-size: 10px;
    letter-spacing: 3px
}

.footer-values {
    text-align: center;
    font: 400 14px Georgia, "Times New Roman", serif
}

.footer-values span {
    margin-left: 9px;
    color: #c96f35;
    font-size: 24px;
    vertical-align: -3px
}

.copyright {
    text-align: right;
    font-size: 12px
}

@media(max-width:900px) {
    .site-header {
        height: auto;
        padding: 24px;
        flex-direction: column;
        gap: 18px
    }

    nav {
        gap: 8px 18px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 0 7%;
        min-height: 1180px
    }

    .hero-copy {
        padding-top: 28px
    }

    .intro {
        max-width: 520px
    }

    .hero-art {
        width: 100%;
        height: 48%;
        object-position: center top
    }

    .services {
        grid-template-columns: 1fr;
        padding: 30px 12%
    }

    .services article {
        padding: 25px 5px 35px
    }

    .services article+article:before {
        top: 0;
        right: 0;
        bottom: auto;
        width: auto;
        height: 1px
    }

    .quote {
        height: 670px;
        grid-template-columns: 1fr;
        padding: 0 7%
    }

    .quote>img {
        width: 100%;
        height: 55%;
        top: auto;
        bottom: 0
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 56px 9%
    }

    .contact-invite h2 {
        font-size: 48px
    }

    .footer-bar {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
        padding: 34px 7%
    }

    .footer-brand {
        align-items: center
    }

    .copyright {
        text-align: center
    }

    .footer-values {
        grid-row: 2
    }
}

@media(max-width:560px) {
    .brand span {
        font-size: 49px
    }

    .brand small {
        margin-top: 10px;
        font-size: 8px;
        letter-spacing: 4px;
    }
    
    nav a {
        font-size: 12px;
        padding: 6px 2px
    }

    h1 {
        font-size: 43px
    }

    .accent {
        font-size: 34px
    }

    .hero {
        min-height: 1260px
    }

    .hero-art {
        height: 40%
    }

    .horse-offer {
        padding-top: 48px;
        padding-right: 0
    }

    .horse-offer h2 {
        font-size: 34px
    }

    .contact-invite h2 {
        font-size: 39px
    }

    .contact-row {
        grid-template-columns: 82px 1fr 16px
    }

    .contact-row strong {
        font-size: 12px
    }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: #d58a36;
  transform: translateY(-1px);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.social-links svg .icon-fill,
.social-links a:last-child svg {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 600px) {
  .social-links {
    gap: 14px;
  }
}