/* Opus Oil & Gas. */
:root {
  --paper: #f7f6f2;
  --white: #fff;
  --ink: #222725;
  --muted: #555e58;
  --red: #b52832;
  --line: #dcded6;
  --dark: #252e2d;
  --dark-copy: #d4dcd7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 7rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, dl, dd, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.25rem, 6.15vw, 5.85rem); line-height: 1.04; letter-spacing: -.047em; }
h2 { font-size: clamp(2.35rem, 4.15vw, 4rem); line-height: 1.1; letter-spacing: -.042em; }
h3 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.2; letter-spacing: -.024em; }
h1 em, h2 em { color: var(--red); font-weight: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:enabled { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
::selection { background: var(--red); color: var(--white); }

.wrap { width: min(77.5rem, calc(100% - 7rem)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.3vw, 6.5rem); }
.paper { background: var(--paper); }
.dark { background: var(--dark); color: var(--white); }
.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.copy { color: var(--muted); max-width: 37rem; }
.skip {
  position: fixed;
  top: -10rem;
  left: 1rem;
  z-index: 40;
  padding: .65rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.skip:focus { top: .75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 5.75rem; display: flex; align-items: center; gap: 1.85rem; }
.brand { display: inline-flex; align-items: center; gap: .875rem; margin-right: auto; }
.brand img { width: 3.5rem; height: auto; }
.brand-name {
  color: var(--red);
  font: clamp(1.18rem, 2.75vw, 1.8rem)/1.12 var(--serif);
  letter-spacing: -.038em;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a, .language-link, .menu-toggle { font-size: .875rem; font-weight: 550; }
.site-nav a:not(.nav-contact) { padding-block: .5rem; border-block: 1px solid transparent; }
.site-nav a:not(.nav-contact):hover, .site-nav a[aria-current="page"]:not(.nav-contact) {
  border-bottom-color: var(--red);
  color: var(--red);
}
.nav-contact { padding: .55rem 1.15rem; border: 1px solid var(--line); }
.nav-contact:hover, .nav-contact[aria-current="page"] { border-color: var(--red); color: var(--red); }
.language-link { color: var(--red); padding: .5rem 0 .5rem 1.15rem; border-left: 1px solid var(--line); }
.language-link:hover { text-decoration: underline; text-underline-offset: .25rem; }
.menu-toggle { display: none; padding: .45rem .62rem; background: transparent; border: 1px solid var(--line); }
.menu-lines { display: inline-block; width: 1.05rem; height: .55rem; border-block: 1px solid currentColor; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(2.15rem, 4.2vw, 4.4rem);
  align-items: center;
  padding-block: clamp(2.65rem, 4.25vw, 4.35rem);
}
.hero-copy h1 > span { display: block; }
.hero-copy .eyebrow { margin-bottom: 1.5rem; }
.hero-copy > .copy { max-width: 30rem; margin-top: 1.6rem; font-size: 1.0625rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem 1.35rem; align-items: center; margin-top: 1.85rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  font-size: .9375rem;
  line-height: 1.35;
  font-weight: 550;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--red); }
.button-primary:disabled { opacity: .62; cursor: default; }
.button-outline { background: var(--white); border-color: var(--line); }
.button-outline:hover { border-color: var(--red); color: var(--red); }
.text-link { width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: .12rem; font-size: .9375rem; font-weight: 550; }
.text-link:hover { color: var(--red); }
.hero-meta { display: flex; align-items: center; gap: .75rem; margin-top: 2.25rem; color: var(--muted); font-size: .875rem; }
.hero-meta::before { content: ""; width: 2.2rem; height: 1px; background: var(--red); }
.hero-figure { position: relative; aspect-ratio: 1.06; overflow: hidden; background: var(--dark); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.split .copy .text-link { display: inline-block; margin-top: 1.2rem; color: var(--ink); }
.split .copy .text-link:hover { color: var(--red); }
.section-header { margin-bottom: clamp(2.1rem, 4.1vw, 3.65rem); }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 4.3vw, 4rem); }
.focus-tile { padding-top: 1.3rem; border-top: 1px solid #64716b; }
.focus-tile p { margin-top: .8rem; color: var(--dark-copy); }
.focus-tile a { text-decoration: underline; text-underline-offset: .28em; text-decoration-color: #a1aca5; }
.focus-tile a:hover { color: #f4c0bc; }
.dark :focus-visible { outline-color: #f4c0bc; }
.contact-band { padding-block: clamp(2.85rem, 5.5vw, 4.5rem); border-bottom: 1px solid var(--line); }
.contact-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.contact-band h2 { font-size: clamp(2.05rem, 3.75vw, 3.25rem); }
.contact-band p { margin-top: .55rem; }

.page-intro { padding-block: clamp(3rem, 6.5vw, 5rem); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 16ch; }
.page-intro .copy { margin-top: 1.2rem; font-size: 1.1rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.4rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { color: var(--red); font: 1.6rem/1.15 var(--serif); }
.timeline h3 { font-size: 1.6rem; }
.timeline p { margin-top: .5rem; }
.detail-rows article { padding-block: clamp(1.65rem, 3.8vw, 3.15rem); border-top: 1px solid var(--line); }
.detail-rows article:last-child { border-bottom: 1px solid var(--line); }
.detail-rows h2 { font-size: clamp(2rem, 3.65vw, 3rem); }

.contact-layout { grid-template-columns: .8fr 1.2fr; }
.contact-info h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.contact-info .copy { margin-top: 1rem; }
.company-details { margin-top: 1.4rem; }
.company-details div { padding-block: .75rem; border-top: 1px solid var(--line); }
.company-details dt { color: var(--muted); font-size: .875rem; }
.company-details dd { font-weight: 550; }
.contact-panel { padding: clamp(1.35rem, 3.4vw, 2.75rem); border: 1px solid var(--line); }
.contact-panel h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.35rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field label { font-size: .9375rem; font-weight: 550; }
.field label span { color: var(--muted); font-weight: 400; }
input, textarea { min-width: 0; width: 100%; padding: .65rem .75rem; border: 1px solid #b7bfb6; border-radius: 0; background: var(--white); color: var(--ink); }
textarea { min-height: 8rem; resize: vertical; }
.form-note { color: var(--muted); font-size: .875rem; margin: .25rem 0 1.4rem; }
.form-note a, .legal-copy a { text-decoration: underline; text-underline-offset: .22em; overflow-wrap: anywhere; }
.form-status { margin: 0; font-size: .9375rem; }
.form-status:not(:empty) { margin-top: .85rem; }
.form-status[data-state="error"] { color: var(--red); }
.form-status[data-state="success"] { color: #235e3c; }

.legal-grid { display: grid; grid-template-columns: minmax(12rem, .45fr) minmax(0, 1.55fr); gap: clamp(1.7rem, 5.5vw, 5.5rem); }
.legal-nav { display: flex; flex-direction: column; align-items: start; gap: .8rem; }
.legal-nav a:hover { color: var(--red); }
.legal-copy section + section { margin-top: 2.6rem; }
.legal-copy h2 { margin-bottom: .85rem; font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
.legal-copy .copy { max-width: 45rem; }
.legal-copy .plain-button { margin-top: 1rem; }
.plain-button { background: none; border: none; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .2em; text-align: left; font-size: inherit; }
.plain-button:hover { color: var(--red); }

.site-footer { background: var(--paper); }
.footer-main { padding-block: 2.7rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.footer-brand { font: 1.4rem/1.15 var(--serif); letter-spacing: -.03em; color: var(--red); }
.footer-main p { margin-top: .6rem; color: var(--muted); font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; gap: .45rem 1.2rem; font-size: .9375rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .55rem 1.6rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.cookie-banner {
  position: fixed;
  z-index: 30;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  width: min(47rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px #22272526;
  padding: 1rem 1.15rem;
}
.cookie-banner h2 { font: 650 1rem/1.35 var(--sans); letter-spacing: 0; }
.cookie-banner p { color: var(--muted); font-size: .875rem; margin-top: .35rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.cookie-actions .button { min-height: 2.55rem; padding: .5rem .8rem; font-size: .875rem; }

@media (max-width: 62rem) {
  .wrap { width: calc(100% - 4.5rem); }
  .header-inner { gap: 1.4rem; }
  .site-nav { gap: 1.2rem; }
  .hero-grid { gap: 2rem; }
  .hero-copy h1 { font-size: clamp(3.25rem, 6.5vw, 4.3rem); }
  .hero-figure { aspect-ratio: .89; }
}

@media (max-width: 49rem) {
  html { scroll-padding-top: 5.3rem; }
  .wrap { width: calc(100% - 2.6rem); }
  .header-inner { min-height: 4.55rem; flex-wrap: wrap; gap: 0 .875rem; }
  .brand { gap: .55rem; padding-block: .55rem; }
  .brand img { width: 2.65rem; }
  .brand-name { font-size: clamp(1.05rem, 3.15vw, 1.5rem); }
  .language-link { border-left: 0; padding-left: 0; }
  .menu-toggle:not([hidden]) { display: inline-flex; gap: .45rem; align-items: center; }
  .site-nav { order: 1; width: 100%; flex-wrap: wrap; gap: .2rem 1.15rem; border-top: 1px solid var(--line); padding-block: .65rem; }
  .site-nav a { font-size: 1rem; }
  .site-nav a:not(.nav-contact), .site-nav .nav-contact { padding: .45rem 0; }
  .nav-contact { border: 0; }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav { flex-direction: column; align-items: stretch; padding-block: .65rem 1rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.6rem 0; }
  .hero-copy h1 { font-size: clamp(3.15rem, 11.5vw, 5.15rem); }
  .hero-copy .eyebrow { margin-bottom: 1rem; }
  .hero-copy > .copy { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-meta { margin-top: 1.45rem; }
  .hero-figure { margin-inline: -1.3rem; aspect-ratio: 1.38; }
  .hero-figure img { object-position: 50% 53%; }
  .split, .legal-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .focus-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-band .wrap { align-items: start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 2rem; }
  .footer-bottom { flex-direction: column; }
  .legal-nav { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 25rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { gap: 0 .55rem; }
  .brand { gap: .42rem; }
  .brand img { width: 2.25rem; }
  .brand-name { font-size: clamp(.9rem, 4.04vw, 1.02rem); }
  .menu-toggle { padding: .45rem; }
  .menu-toggle .menu-label { display: none; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12.9vw, 3.25rem); }
  .hero-figure { margin-inline: -1rem; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .timeline li { grid-template-columns: 3.7rem 1fr; gap: .9rem; }
}

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


