/* RAKA Consulting Group — site styles */
:root {
  --black: #000000;
  --white: #ffffff;
  --orange: #AF6118;
  --orange-light: #ED9139;
  --grey: #C2C2C2;
  --serif: Georgia, Palatino, "Book Antiqua", "Palatino Linotype", serif;
  --sans: "Jost", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.25; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.label { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--black); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 96px; position: relative; }
.logo { font-family: var(--serif); font-size: 26px; line-height: 1.1; text-decoration: none; letter-spacing: .02em; }
.logo span { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.nav a { text-decoration: none; font-size: 16px; letter-spacing: .05em; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--orange-light); color: var(--orange-light); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,.5); color: var(--white); font: inherit; font-size: 15px; padding: 8px 14px; cursor: pointer; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: #1a1410 url("../images/hero.jpg") center / cover no-repeat;
  padding: 110px 0 120px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.hero .tagline { margin-bottom: 26px; letter-spacing: .05em; }
.hero h1 { font-size: clamp(40px, 6vw, 67px); line-height: 1.15; }
.hero h1 .sub { display: block; margin-top: 18px; font-size: .62em; color: rgba(255,255,255,.88); }

/* ---------- Forms ---------- */
.form-panel { background: var(--orange); padding: 40px 36px 36px; }
.form-panel h2 { font-family: var(--sans); font-weight: 300; font-size: 17px; letter-spacing: .05em; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; margin-top: 12px; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 8px 0; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; border: 1px solid currentColor; padding: 10px; margin-top: 6px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 1px 0 var(--orange); }
.form-panel .field input:focus { border-color: var(--white); box-shadow: 0 1px 0 var(--white); }
.hp { position: absolute; left: -9999px; }
.btn {
  display: inline-block; font: inherit; font-size: 16px; letter-spacing: .05em; cursor: pointer; text-decoration: none;
  padding: 14px 34px; border: 1px solid currentColor; background: transparent; color: inherit;
  transition: background-color .4s, color .4s, border-color .4s;
}
.btn-solid { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-solid:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--orange); border-color: var(--orange); }
.form-actions { margin-top: 26px; }
.form-msg { margin-top: 14px; font-size: 16px; min-height: 1.6em; }
.form-msg.error { color: #ffe1e1; }
.contact .form-msg.error { color: #b00020; }
form.sent .form-grid, form.sent .form-actions { display: none; }
form.sent .form-msg { font-family: var(--serif); font-size: 22px; }

/* ---------- Our Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; }
.story-title { background: var(--white); color: var(--black); display: flex; align-items: center; justify-content: center; padding: 90px 40px; }
.story-title h2 { font-size: clamp(44px, 6vw, 72px); line-height: 1.05; }
.story-title h2 span { display: block; padding-left: 1.2em; }
.story-text { padding: 90px clamp(28px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.story-text h3 { font-family: var(--sans); font-weight: 300; font-size: 20px; letter-spacing: .05em; margin-bottom: 22px; color: var(--orange-light); }
.story-text p { font-size: 18px; line-height: 1.8; max-width: 34em; }

/* ---------- Services grid (home) ---------- */
.services-home { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--white); }
.svc-cell { background: var(--orange); padding: 56px 40px; min-height: 320px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.svc-cell h3 { font-family: var(--sans); font-weight: 400; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.svc-cell p { font-size: 17px; line-height: 1.6; max-width: 22em; margin: 0 auto; }
.svc-intro {
  position: relative; text-align: left; align-items: flex-start;
  background: #2a1d12 url("../images/services.jpg") center / cover no-repeat;
}
.svc-intro::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.svc-intro > * { position: relative; }
.svc-intro .label { margin-bottom: 14px; }
.svc-intro h2 { font-size: clamp(30px, 3.2vw, 38px); margin-bottom: 30px; }

/* ---------- Services page ---------- */
.page-intro { padding: 110px 0 100px; }
.page-intro .label { margin-bottom: 30px; color: var(--orange-light); }
.page-intro h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.25; max-width: 20em; }
.svc-list { background: var(--grey); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid var(--grey); border-bottom: 1px solid var(--grey); }
.svc-item { background: var(--black); padding: 56px 40px 64px; }
.svc-item .num { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--orange); display: block; margin-bottom: 26px; }
.svc-item h2 { font-family: var(--sans); font-weight: 400; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.svc-item p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.86); }

.quote { position: relative; background: #111 url("../images/quote.jpg") center / cover no-repeat; padding: 130px 0; text-align: center; }
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.quote .wrap { position: relative; }
.quote blockquote { margin: 0 auto; max-width: 46em; }
.quote p { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.5; }
.quote cite { display: block; margin-top: 30px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; color: var(--orange-light); }

/* ---------- Contact / footer ---------- */
.contact { background: var(--white); color: var(--black); padding: 100px 0 40px; }
.contact .wrap { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 56px; }
.contact .logo { font-size: 30px; }
.contact .label { margin-bottom: 12px; }
.contact h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.contact-info h3 { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--orange); }
.contact-info a:hover { color: var(--orange); }
.copyright { grid-column: 1 / -1; font-size: 14px; color: #595858; border-top: 1px solid #ddd; padding-top: 24px; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .story, .contact .wrap { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  .svc-grid, .svc-list { grid-template-columns: 1fr 1fr; }
  .story-title { padding: 60px 28px; }
  .story-text { padding: 60px 28px; }
  .contact .wrap { gap: 40px; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 28px 20px; }
  .nav a { display: block; padding: 12px 0; }
  .site-header .wrap { min-height: 80px; }
  .logo { font-size: 22px; }
  .svc-grid, .svc-list, .form-grid { grid-template-columns: 1fr; }
  .svc-cell { min-height: 0; padding: 44px 28px; }
  .svc-item { padding: 44px 28px; }
  .form-panel { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
