/* Arabian Wells & Controls — brand tokens + signature graphic elements.
   Colours sampled from AWC LOGO.pdf and AWC Company Profile.pdf (see index.html for sources). */
@import url("tokens.css");

/* ---------- Headings: vertical bar + gradient underline ---------- */
.aw-heading { position: relative; padding-left: 22px; font-family: var(--aw-font-display); }
.aw-heading::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 6px; background: var(--aw-teal); }
.aw-heading h2 { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--aw-ink); line-height: 1.05; }
.aw-heading h2 em { font-style: normal; color: var(--aw-teal-bright); }
.aw-heading p { margin: .35em 0 0; font-style: italic; font-weight: 500; color: var(--aw-ink); }
.aw-heading::after { content: ""; display: block; height: 2px; margin-top: .6em; max-width: 560px; background: var(--aw-grad-underline); }

/* ---------- Two-tone hero headline: light italic + heavy teal ---------- */
.aw-hero-title { font-family: var(--aw-font-display); font-style: italic; text-transform: uppercase; line-height: .98; color: var(--aw-ink-night); font-weight: 400; letter-spacing: -.01em; margin: 0; }
.aw-hero-title b { font-weight: 800; color: var(--aw-teal-bright); }

/* ---------- Slanted ribbon label + tinted copy panel ---------- */
.aw-ribbon-row { display: grid; grid-template-columns: minmax(220px, 38%) 1fr; align-items: stretch; }
.aw-ribbon {
  display: flex; align-items: center; gap: 16px; padding: 18px 40px 18px 28px; color: var(--aw-white);
  background: var(--aw-grad-ribbon); border-radius: 6px;
  clip-path: polygon(var(--aw-slant) 0, 100% 0, calc(100% - var(--aw-slant)) 100%, 0 100%);
  font-family: var(--aw-font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  position: relative; z-index: 1;
}
.aw-ribbon small { display: block; font-weight: 400; font-style: italic; text-transform: none; letter-spacing: 0; opacity: .92; }
.aw-ribbon-panel {
  margin-left: -28px; padding: 16px 28px 16px 56px; background: var(--aw-grad-tint);
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); display: flex; align-items: center;
}
.aw-ribbon-panel > div { border-left: 3px solid var(--aw-teal); padding-left: 16px; }

/* ---------- Square bullets ---------- */
.aw-list { list-style: none; padding: 0; margin: 0; }
.aw-list li { position: relative; padding-left: 22px; margin: .3em 0; }
.aw-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--aw-teal-bright); }

/* ---------- Caption pill on photos ---------- */
.aw-card { position: relative; border-radius: var(--aw-radius); overflow: hidden; box-shadow: var(--aw-shadow); }
.aw-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aw-pill {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap;
  background: var(--aw-deep); color: var(--aw-white); padding: 5px 16px; border-radius: var(--aw-radius-pill);
  border: 1px solid var(--aw-white-55); font: 500 13px/1.3 var(--aw-font-body);
}

/* ---------- Tagline band: centred line with flanking rules ---------- */
.aw-tagline { text-align: center; font-family: var(--aw-font-display); }
.aw-tagline strong { display: flex; align-items: center; gap: 18px; color: var(--aw-ink); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.aw-tagline strong::before, .aw-tagline strong::after { content: ""; flex: 1; min-width: 40px; height: 2px; background: var(--aw-teal); }
.aw-tagline span { display: block; margin-top: .35em; font: 400 .9em var(--aw-font-body); color: var(--aw-text); }

/* ---------- Corner swooshes (pair with the SVG in index.html) ---------- */
.aw-swoosh { --s: clamp(140px, 22vw, 320px); position: absolute; pointer-events: none; width: var(--s); height: var(--s); }
.aw-swoosh--tl { top: 0; left: 0; }
.aw-swoosh--br { bottom: 0; right: 0; transform: rotate(180deg); }
