@font-face {
    font-family: DM Sans;
    src: url(assets/dm-sans.ttf) format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: DM Serif;
    src: url(assets/dm-serif.ttf) format('truetype');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: DM Serif;
    src: url(assets/dm-serif-italic.ttf) format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap
}

:root {
    --cream: #f6f4ed;
    --paper: #eeeee6;
    --green: #153e35;
    --ink: #213a32;
    --muted: #626a61;
    --line: #d8dcd0;
    --sage: #dce6bb;
    --serif: 'DM Serif', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit
}

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

h1,
h2,
h3,
p,
figure {
    margin: 0
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.07;
    letter-spacing: -.025em
}

h2 {
    font-size: clamp(38px, 4vw, 58px)
}

h2 em {
    font-weight: 400
}

h3 {
    font-weight: 400
}

a,
button {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #bc864e;
    outline-offset: 6px
}

::selection {
    background: var(--sage);
    color: var(--green)
}

.wrap {
    width: calc(100% - 112px);
    max-width: 1280px;
    margin-inline: auto
}

.section {
    padding-block: 112px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 14px;
    line-height: 1.5
}

.eyebrow.green {
    color: var(--green)
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--cream);
    padding: 12px
}

.skip:focus {
    top: 10px
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    color: white
}

.brand {
    display: block;
    width: 174px
}

.brand img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1)
}

.header nav {
    display: flex;
    gap: 36px;
    align-items: center;
    font-size: 16px
}

.header nav>a {
    transition: color .2s
}

.header nav>a:hover {
    color: var(--sage)
}

.nav-contact {
    border: 1px solid #ffffff70;
    padding: 10px 20px;
    display: flex;
    gap: 36px;
    align-items: center
}

.nav-contact span {
    font-size: 20px
}

.menu-toggle {
    display: none
}

.hero {
    position: relative;
    min-height: 740px;
    height: 94svh;
    max-height: 960px;
    display: flex;
    align-items: center;
    color: var(--cream);
    overflow: hidden;
    background: #202a26
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-image {
    object-position: 50% 55%
}

.hero-shade {
    background: linear-gradient(90deg, rgba(8, 26, 22, .79) 0%, rgba(8, 26, 22, .52) 43%, rgba(8, 26, 22, .1) 100%), linear-gradient(0deg, rgba(8, 26, 22, .7), transparent 25%, transparent 70%, rgba(8, 26, 22, .38))
}

.hero-content {
    position: relative;
    padding-top: 68px;
    padding-bottom: 74px
}

.hero-content .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #e6e8d8
}

.dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50%;
    background: var(--sage)
}

h1 {
    font-size: clamp(65px, 7.6vw, 112px);
    max-width: 850px;
    line-height: 1.02;
    letter-spacing: -.035em
}

h1 em {
    color: var(--sage)
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    margin-top: 28px;
    max-width: 470px;
    color: #f0f0e7
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    font-size: 13px;
    padding: 16px 23px;
    min-height: 54px;
    transition: background .2s, color .2s
}

.button span {
    font-size: 22px;
    line-height: 1
}

.button-light {
    background: var(--cream);
    color: var(--green);
    margin-top: 31px
}

.button-light:hover {
    background: var(--sage)
}

.hero-bottom {
    position: absolute;
    bottom: 27px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ffffff3d;
    padding-top: 20px;
    font-size: 14px;
    letter-spacing: .02em
}

.hero-bottom a {
    display: flex;
    gap: 30px;
    align-items: center
}

.hero-bottom a span {
    font-size: 21px
}

.hero-note {
    color: #e1e5d4
}

.about {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center
}

.about h2 {
    margin: 23px 0 29px
}

.about-copy>p:not(.eyebrow) {
    max-width: 530px;
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 15px
}

.about-copy>p.lead {
    font-size: 19px;
    color: var(--ink);
    line-height: 1.6
}

.text-link {
    font-size: 12px;
    border-bottom: 1px solid #95a093;
    display: inline-flex;
    gap: 40px;
    align-items: center;
    line-height: 1.5;
    padding: 8px 0;
    transition: gap .2s
}

.text-link:hover {
    gap: 48px
}

.text-link span {
    font-size: 20px;
    line-height: 1
}

.about-copy>.text-link {
    margin-top: 8px
}

.about-figure {
    position: relative;
    padding: 0 0 0 18px;
    border-left: 1px solid var(--line)
}

.about-figure>img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center
}

.about-figure figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--muted);
    padding-top: 16px
}

.about-figure figcaption>span:last-child {
    font-size: 23px;
    color: var(--green)
}

.units {
    background: var(--paper);
    padding-top: 100px
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 46px
}

.section-heading h2 {
    margin-top: 20px;
    max-width: 720px;
    font-size: clamp(38px, 3.8vw, 55px)
}

.section-heading>p {
    font-size: 13px;
    color: var(--muted);
    padding-bottom: 8px
}

.unit-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 40px 25px
}

.unit {
    grid-column: span 2;
    min-width: 0
}

.unit-wide {
    grid-column: span 3
}

.unit-photo {
    height: 265px;
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--green);
    color: #fff
}

.unit-wide .unit-photo {
    height: 330px
}

.unit-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(5, 20, 16, .04) 35%, rgba(5, 20, 16, .7))
}

.unit-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .65s
}

.unit-photo:hover .unit-image {
    transform: scale(1.035)
}

.unit-index {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 23px;
    font-size: 12px;
    letter-spacing: .13em
}

.unit-logo {
    position: absolute;
    z-index: 2;
    bottom: 26px;
    left: 23px;
    width: 190px;
    height: auto;
    max-width: 65%;
    filter: brightness(0) invert(1)
}

.unit-wide .unit-logo {
    width: 220px;
    bottom: 30px
}

.unit-wide .logo-matteo {
    width: 225px
}

.unit-wide .logo-bilbao {
    width: 270px
}

.round-arrow {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 28px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    transition: background .2s, color .2s
}

.unit-photo:hover .round-arrow {
    background: var(--cream);
    color: var(--green)
}

.unit-info {
    padding: 22px 0 4px;
    border-bottom: 1px solid #cbd1c2;
    height: calc(100% - 265px);
    min-height: 155px
}

.unit-wide .unit-info {
    height: calc(100% - 330px);
    min-height: 180px
}

.unit-info h3 {
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: -.01em;
    line-height: 1.2;
    margin-bottom: 12px
}

.unit-info p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 460px
}

.unit-info .text-link {
    margin-top: 15px;
    margin-bottom: 12px;
    font-size: 14px
}

.quality {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--green);
    color: var(--cream)
}

.quality-photo {
    position: relative;
    overflow: hidden;
    min-height: 720px
}

.quality-photo>img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: 48% 50%
}

.quality-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #102a25b8, transparent 65%)
}

.quality-photo>p {
    position: absolute;
    z-index: 1;
    bottom: 49px;
    left: 56px;
    font-family: var(--serif);
    font-size: 43px;
    line-height: 1.15
}

.quality-photo em {
    color: #e3e9d1
}

.quality-copy {
    padding: 82px clamp(35px, 5vw, 85px)
}

.quality-copy .eyebrow {
    color: #cbd9b9
}

.quality-copy h2 {
    margin: 23px 0;
    font-size: clamp(38px, 3.7vw, 54px)
}

.quality-copy h2 em {
    color: var(--sage)
}

.quality-intro {
    font-size: 14px;
    color: #d2dcd3;
    max-width: 470px
}

.principles {
    margin-top: 34px
}

.principles>div {
    display: flex;
    gap: 23px;
    border-top: 1px solid #ffffff30;
    padding: 21px 0
}

.principles>div>span {
    font-size: 16px;
    color: var(--sage);
    padding-top: 5px
}

.principles h3 {
    font-size: 16px;
    margin-bottom: 6px
}

.principles p {
    font-size: 14px;
    color: #cbd7cc;
    line-height: 1.7;
    max-width: 355px
}

.contact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: end;
    margin-bottom: 59px
}

.contact-top h2 {
    margin-top: 20px
}

.contact-invitation {
    padding-bottom: 4px
}

.contact-invitation p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8
}

.email {
    font-size: clamp(17px, 2vw, 27px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--green);
    padding-block: 15px;
    margin-top: 13px
}

.email span {
    font-size: 32px;
    transition: transform .2s
}

.email:hover span {
    transform: translate(3px, -3px)
}

.location {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 340px;
    border: 1px solid var(--line)
}

.location-copy {
    padding: 38px;
    display: flex;
    gap: 25px;
    align-items: flex-start
}

.location-icon {
    width: 33px;
    flex-shrink: 0;
    margin-top: 2px
}

.location-icon svg {
    width: 100%
}

.location-copy .eyebrow {
    font-size: 9px
}

.location h3 {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.15;
    margin-top: 15px
}

.location address {
    font-size: 13px;
    font-style: normal;
    color: var(--muted);
    margin-top: 20px;
    line-height: 1.8
}

.location address span {
    font-size: 11px
}

.location .text-link {
    margin-top: 13px;
    font-size: 11px
}

.location iframe {
    border: 0;
    border-left: 1px solid var(--line);
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    background: #e2e4da
}

.footer {
    background: var(--green);
    color: var(--cream);
    padding-top: 55px
}

.footer-main {
    display: flex;
    gap: 50px;
    align-items: center;
    padding-bottom: 45px
}

.footer-main p {
    font-size: 13px;
    line-height: 1.7;
    color: #c8d1c4
}

.back-top {
    margin-left: auto;
    display: flex;
    gap: 25px;
    font-size: 11px;
    align-items: center
}

.back-top span {
    font-size: 21px
}

.footer-bottom {
    border-top: 1px solid #ffffff26;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
    padding-block: 23px;
    font-size: 9px;
    color: #c8d1c4
}

@media(min-width:1600px) {
    .header {
        padding-inline: max(56px, calc((100vw - 1280px)/2))
    }
}

@media(max-width:1100px) {
    .wrap {
        width: calc(100% - 72px)
    }

    .header {
        padding: 27px 36px
    }

    .header nav {
        gap: 22px;
        font-size: 14px
    }

    .brand {
        width: 150px
    }

    .about {
        gap: 55px
    }

    .section {
        padding-block: 85px
    }

    .unit-photo {
        height: 230px
    }

    .unit-wide .unit-photo {
        height: 290px
    }

    .unit-info {
        height: calc(100% - 230px)
    }

    .unit-wide .unit-info {
        height: calc(100% - 290px)
    }

    .unit-info h3 {
        font-size: 23px
    }

    .quality-copy {
        padding: 64px 38px
    }

    .quality-photo {
        min-height: 720px
    }

    .quality-photo>p {
        left: 36px;
        font-size: 35px
    }

    .location-copy {
        padding: 30px 24px;
        gap: 16px
    }

    .location-icon {
        width: 25px
    }

    .contact-top {
        gap: 40px
    }

    .footer-bottom {
        font-size: 8px
    }

    .unit-index {
        left: 18px
    }

    .unit-logo {
        left: 18px;
        max-width: 75%
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top: 24px
    }

    .wrap {
        width: calc(100% - 40px)
    }

    .section {
        padding-block: 66px
    }

    .header {
        padding: 23px 20px;
        align-items: center
    }

    .brand {
        width: 145px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        background: transparent;
        color: inherit;
        border: 1px solid #ffffff65;
        width: 43px;
        height: 43px;
        padding: 10px;
        z-index: 22
    }

    .menu-toggle span {
        height: 1px;
        width: 21px;
        display: block;
        background: currentColor;
        transition: transform .2s
    }

    .header nav {
        display: none;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        padding: 115px 25px 35px;
        background: var(--green);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        font-size: 18px;
        box-shadow: 0 15px 30px #0003
    }

    .header nav>a {
        padding: 14px 0;
        border-bottom: 1px solid #ffffff25
    }

    .header .nav-contact {
        border: 0;
        justify-content: space-between;
        margin-top: 6px
    }

    .header.menu-open nav {
        display: flex
    }

    .header.menu-open .brand {
        z-index: 22
    }

    .menu-open .menu-toggle span:first-child {
        transform: translateY(4px) rotate(45deg)
    }

    .menu-open .menu-toggle span:last-child {
        transform: translateY(-4px) rotate(-45deg)
    }

    .hero {
        min-height: 690px;
        height: 91svh;
        max-height: 880px
    }

    .hero-image {
        object-position: 62% 50%
    }

    .hero-shade {
        background: linear-gradient(90deg, #0a2019d9, #0a20196e), linear-gradient(0deg, #0a2019a8, transparent 65%)
    }

    .hero-content {
        padding-top: 40px;
        padding-bottom: 55px
    }

    .hero-content .eyebrow {
        font-size: 9px;
        letter-spacing: .1em;
        margin-bottom: 23px;
        gap: 7px
    }

    h1 {
        font-size: clamp(40px, 12vw, 88px)
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 24px;
        max-width: 335px
    }

    .desktop-break {
        display: none
    }

    .button {
        font-size: 12px;
        padding: 14px 20px;
        gap: 24px
    }

    .hero-bottom {
        bottom: 19px;
        font-size: 14px;
        padding-top: 16px
    }

    .hero-bottom a {
        gap: 15px
    }

    .hero-note {
        display: none
    }

    .about {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .about h2 {
        margin: 18px 0 24px
    }

    .about-copy>p.lead {
        font-size: 18px
    }

    .about-copy>p:not(.eyebrow) {
        font-size: 14px;
        max-width: none
    }

    .about-figure {
        padding-left: 12px
    }

    .about-figure>img {
        height: 360px;
        object-position: center 55%
    }

    .about-figure figcaption {
        font-size: 10px;
        padding-top: 14px
    }

    .section-heading {
        display: block;
        margin-bottom: 33px
    }

    .section-heading h2 {
        font-size: 39px;
        margin-top: 18px
    }

    .section-heading>p {
        margin-top: 23px;
        font-size: 13px
    }

    .section-heading>p br {
        display: none
    }

    .unit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px
    }

    .unit,
    .unit-wide {
        grid-column: span 1
    }

    .unit-wide {
        grid-column: span 2
    }

    .unit-photo,
    .unit-wide .unit-photo {
        height: 270px
    }

    .unit-grid>.unit:not(.unit-wide) {
        grid-column: span 2
    }

    .unit-info,
    .unit-wide .unit-info {
        height: auto;
        min-height: 0;
        padding: 20px 0 24px
    }

    .unit-info h3 {
        font-size: 26px
    }

    .unit-info p {
        font-size: 14px
    }

    .unit-info .text-link {
        margin-top: 12px;
        margin-bottom: 0
    }

    .unit-index {
        left: 20px;
        top: 19px;
        font-size: 12px
    }

    .unit-logo,
    .unit-wide .unit-logo {
        left: 20px;
        bottom: 26px;
        width: 210px;
        max-width: 67%
    }

    .unit-wide .logo-bilbao {
        width: 255px
    }

    .quality {
        grid-template-columns: 1fr
    }

    .quality-photo {
        min-height: 340px;
        order: 2
    }

    .quality-photo>img {
        object-position: center 55%
    }

    .quality-photo>p {
        left: 22px;
        bottom: 25px;
        font-size: 35px
    }

    .quality-copy {
        padding: 62px 22px 35px
    }

    .quality-copy h2 {
        font-size: 43px;
        margin: 20px 0
    }

    .quality-intro {
        font-size: 14px
    }

    .principles {
        margin-top: 29px
    }

    .principles>div {
        padding: 21px 0;
        gap: 19px
    }

    .principles h3 {
        font-size: 16px
    }

    .principles p {
        font-size: 12px;
        max-width: none
    }

    .contact-top {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 35px
    }

    .contact-top h2 {
        font-size: 41px
    }

    .contact-invitation p {
        font-size: 13px
    }

    .email {
        font-size: clamp(17px, 5.1vw, 25px);
        margin-top: 9px;
        padding-block: 13px
    }

    .location {
        grid-template-columns: 1fr
    }

    .location-copy {
        padding: 29px 21px;
        gap: 20px
    }

    .location h3 {
        font-size: 32px
    }

    .location iframe {
        height: 300px;
        min-height: 300px;
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .footer {
        padding-top: 35px
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 23px;
        padding-bottom: 32px
    }

    .footer-main>.brand {
        width: 142px
    }

    .footer-main>p {
        grid-column: 1;
        grid-row: 2;
        font-size: 12px
    }

    .back-top {
        grid-column: 2;
        grid-row: 1;
        gap: 12px;
        font-size: 10px
    }

    .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        gap: 13px;
        justify-content: space-between;
        font-size: 9px;
        padding-block: 21px
    }

    .footer-bottom p:nth-child(2) {
        order: 3;
        flex-basis: 100%;
        font-size: 8px;
        line-height: 1.7
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}