:root {
    --ink: #183c32;
    --ink-deep: #0d2821;
    --cream: #f4efe4;
    --paper: #fbf8f1;
    --gold: #c99d55;
    --line: rgba(24, 60, 50, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a { color: inherit; }
.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 104px;
    padding: 24px clamp(24px, 6vw, 92px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: .02em;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50% 50% 45% 45%;
    font-size: 13px;
    letter-spacing: .12em;
}

.site-nav { display: flex; gap: clamp(22px, 4vw, 54px); }
.site-nav a {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}
.site-nav a::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    margin-top: 5px;
    background: currentColor;
    transition: width .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus::after { width: 100%; }

.hero {
    position: relative;
    min-height: 760px;
    height: 100vh;
    max-height: 980px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
}

.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image {
    background: url("../Images/loggiato-palazzo-cattolica.jpg") center 47% / cover no-repeat;
    transform: scale(1.01);
}
.hero-shade {
    background:
        linear-gradient(90deg, rgba(8,27,22,.78) 0%, rgba(8,27,22,.38) 48%, rgba(8,27,22,.12) 100%),
        linear-gradient(0deg, rgba(8,27,22,.55) 0%, transparent 52%);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(900px, 88vw);
    padding: 0 0 clamp(58px, 9vh, 105px) clamp(24px, 8vw, 125px);
}

.eyebrow {
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 1px;
    margin: 0 13px 4px 0;
    background: var(--gold);
}
.eyebrow.dark { color: #766442; }
.hero h1, .welcome-section h2, .experience-card h2, .site-footer h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}
.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(56px, 7.3vw, 108px);
    line-height: .91;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.hero-text {
    max-width: 530px;
    margin: 30px 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}
.hero-cta {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.65);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.welcome-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(45px, 9vw, 140px);
    padding: clamp(90px, 13vw, 180px) clamp(24px, 9vw, 140px);
    background: var(--paper);
}
.section-number {
    position: absolute;
    top: 45px;
    left: clamp(24px, 4vw, 65px);
    color: #b8aa8f;
    font-family: Georgia, serif;
    font-style: italic;
}
.welcome-section h2 {
    margin: 0;
    font-size: clamp(44px, 5.4vw, 78px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.welcome-text { padding-top: 48px; font-size: 17px; color: #4d5b56; }
.welcome-text p { max-width: 500px; margin: 0 0 24px; }

.experience-section {
    min-height: 620px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}
.experience-card {
    padding: clamp(75px, 9vw, 135px) clamp(32px, 8vw, 125px);
    align-self: center;
}
.ornament { display: block; margin-bottom: 45px; color: var(--gold); font-size: 34px; }
.experience-card h2 {
    margin: 0 0 28px;
    font-size: clamp(46px, 5.2vw, 74px);
    line-height: 1;
}
.experience-card > p:not(.eyebrow) { max-width: 420px; color: #c9d1ce; }
.experience-card a {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}
.arches {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4%;
    padding: 100px 8% 0;
    background: var(--cream);
}
.arches span {
    width: 31%;
    height: 78%;
    border: 3px solid rgba(24,60,50,.28);
    border-bottom: 0;
    border-radius: 90px 90px 0 0;
    box-shadow: inset 0 0 0 14px var(--cream), inset 0 0 0 15px rgba(24,60,50,.13);
}
.arches span:nth-child(2) { height: 94%; }

.site-footer {
    padding: clamp(80px, 10vw, 145px) clamp(24px, 8vw, 125px) 35px;
    color: var(--cream);
    background: var(--ink-deep);
}
.footer-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    padding-bottom: 65px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-heading .eyebrow { align-self: flex-start; white-space: nowrap; }
.site-footer h2 {
    width: 70%;
    margin: 0;
    font-size: clamp(48px, 6.8vw, 92px);
    line-height: .96;
    letter-spacing: -.035em;
}
.footer-links { display: grid; grid-template-columns: 1fr 1fr; }
.footer-links a {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 42px 0;
    text-decoration: none;
}
.footer-links a + a { padding-left: 9vw; border-left: 1px solid rgba(255,255,255,.18); }
.footer-links span { color: #9fac9f; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.footer-links strong { font-family: Georgia, serif; font-size: clamp(21px, 2vw, 30px); font-weight: 400; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #899790;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .site-header { min-height: 82px; padding: 16px 22px; }
    .brand-mark { width: 40px; height: 40px; }
    .site-brand { font-size: 14px; }
    .site-nav a:first-child { display: none; }
    .hero { min-height: 680px; }
    .hero-content { padding-left: 24px; }
    .hero h1 { font-size: clamp(52px, 15vw, 76px); }
    .welcome-section { grid-template-columns: 1fr; gap: 20px; }
    .welcome-text { padding-top: 15px; }
    .experience-section { grid-template-columns: 1fr; }
    .arches { min-height: 390px; order: -1; }
    .experience-card { padding-top: 70px; padding-bottom: 80px; }
    .footer-heading { display: block; }
    .footer-heading .eyebrow { margin-bottom: 32px; }
    .site-footer h2 { width: 100%; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-links a + a { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
