@font-face { font-family: "Archivo Black"; src: url("fonts/archivo-black-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --yellow: #f9db2a;
    --black: #161616;
    --ink: #1f1f1f;
    --muted: #5c5c5c;
    --paper: #ffffff;
    --line: #dbdbdb;
    --wrap: 1140px;
    --narrow: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.65 "Open Sans", Arial, sans-serif;
}

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

h1, h2, h3 {
    margin: 0 0 .6em;
    font-family: "Archivo Black", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: 3px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, var(--narrow)); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10; padding: 8px 14px; background: #fff; color: #000; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: relative; z-index: 5; background: var(--yellow); color: #000; border-bottom: 4px solid #000; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Archivo Black", Arial, sans-serif; font-size: 1.15rem; text-decoration: none; text-transform: uppercase; }
.brand img { width: 56px; height: 56px; }

.nav-toggle { display: none; padding: 8px 14px; background: #000; color: var(--yellow); border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.site-nav nav > ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { background: #000; color: var(--yellow); }
.site-nav .has-children { position: relative; }
.site-nav .has-children > ul { display: none; position: absolute; top: 100%; right: 0; min-width: 190px; background: #000; color: #fff; }
.site-nav .has-children:hover > ul, .site-nav .has-children:focus-within > ul { display: block; }
.site-nav .has-children > ul a { color: #fff; }
.site-nav .has-children > ul a:hover, .site-nav .has-children > ul a:focus-visible { background: var(--yellow); color: #000; }

@media (max-width: 760px) {
    .site-header__inner { flex-wrap: wrap; }
    .brand { font-size: 1rem; }
    .brand img { width: 46px; height: 46px; }
    .site-nav { display: contents; }
    .nav-toggle:not([hidden]) { display: block; }
    .site-nav nav { flex-basis: 100%; }
    .site-nav nav.is-closed { display: none; }
    .site-nav nav > ul { display: block; }
    .site-nav .has-children > ul { display: block; position: static; background: none; color: inherit; padding-left: 14px; }
    .site-nav .has-children > ul a { color: inherit; }
}

/* Sections */
.section { padding-block: clamp(40px, 7vw, 76px); }
.section--plain + .section--plain { padding-top: 0; }
.section--yellow { background: var(--yellow); color: #000; }
.section--dark { background: var(--black); color: #fff; }
.section--dark h1, .section--dark h2 { color: var(--yellow); }

.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.muted { color: var(--muted); }

.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(24px, 5vw, 56px); }
.hero__image { width: 100%; max-height: 520px; object-fit: cover; border: 4px solid var(--yellow); }

@media (max-width: 760px) {
    .hero__inner { grid-template-columns: 1fr; }
}

.button {
    display: inline-block;
    padding: 12px 22px;
    background: var(--yellow);
    color: #000;
    border: 3px solid var(--yellow);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.button:hover, .button:focus-visible { background: transparent; color: var(--yellow); }
.button--dark { background: #000; color: var(--yellow); border-color: #000; }
.button--dark:hover, .button--dark:focus-visible { background: transparent; color: #000; }
.card .button:hover, .card .button:focus-visible { color: #000; }

/* Text from the editor */
.rich h2, .rich h3 { margin-top: 1.4em; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin-bottom: .25em; }
.rich img { margin-block: 1em; }
.section--dark a:not(.button) { color: var(--yellow); }

.single-image { margin-block: 0; }
.single-image img { margin-inline: auto; }
.single-image figcaption { margin-top: 10px; color: var(--muted); text-align: center; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Steps */
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 52px; padding-left: 66px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 50px; height: 50px; background: #000; color: var(--yellow); font-family: "Archivo Black", Arial, sans-serif; font-size: 1.25rem; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; }

/* Directory */
.rig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.rig-card { padding-bottom: 12px; border-bottom: 4px solid #000; }
.rig-card a { text-decoration: none; }
.rig-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.rig-card h2 { font-size: 1.3rem; margin-bottom: .4em; }
.rig-card a:hover h2 { text-decoration: underline; }

/* Rig listing */
.rig-hero .wrap > :last-child { margin-bottom: 0; }
.rig-hero__image { width: 100%; max-height: 620px; object-fit: cover; margin-top: 24px; }
.rig-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: clamp(28px, 5vw, 56px); padding-block: clamp(40px, 6vw, 64px); }
.rig-main { display: grid; gap: 40px; min-width: 0; }
.rig-side { display: grid; gap: 20px; }
@media (max-width: 860px) {
    .rig-layout { grid-template-columns: minmax(0, 1fr); }
}

.card { padding: 22px; border: 3px solid #000; background: #fff; }
.card h2 { font-size: 1.15rem; }
.card--yellow { background: var(--yellow); }
.card__logo { width: 130px; margin-bottom: 12px; }
.plain { margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.plain li { margin-bottom: .45em; }

.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 20px; }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 5px; font-weight: 600; }
.form small { color: inherit; font-weight: 400; opacity: .82; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="url"], .form input[type="file"], .form textarea {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    color: #111;
    border: 2px solid #000;
    border-radius: 0;
    font: inherit;
    font-weight: 400;
}
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid #2563eb; outline-offset: 1px; }
.form .checkbox { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; font-weight: 400; }
.form .checkbox input { width: 20px; height: 20px; margin: 4px 0 0; }
.form button { justify-self: start; }
.form fieldset { display: grid; gap: 16px; margin: 0; padding: 18px; border: 2px solid #000; }
.form legend { padding: 0 8px; font-family: "Archivo Black", Arial, sans-serif; text-transform: uppercase; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 16px; background: #dcfce7; color: #14532d; border: 2px solid #14532d; font-weight: 600; }
.form-errors { padding: 12px 16px; background: #fee2e2; color: #7f1d1d; border: 2px solid #7f1d1d; }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.form-errors p { margin-bottom: .4em; }

/* Footer */
.site-footer { background: #000; color: #fff; padding-block: 34px; text-align: center; font-size: .94rem; }
.site-footer p { margin: 0 0 .35em; }
.site-footer a { color: var(--yellow); }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 0 0 16px; padding: 0; list-style: none; font-weight: 700; }
