/* RenewADream.com — site.css
   Look follows the YouTube channel: blue wave + ΙΧΘΥΣ logo, bold condensed lettering
   (Oswald, SIL Open Font License, see assets/fonts/OFL.txt), soft paper-white background.
   Colours sampled from the channel logo. All text/background pairs meet WCAG 2.2 AA. */

@font-face { font-family: "Oswald"; src: url("fonts/oswald-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --sky: #60c0e8;      /* logo light blue (decorative only) */
  --ocean: #38a8e0;    /* logo mid blue (decorative only) */
  --deep: #006088;     /* logo deep blue: links and buttons (6.6:1 on paper) */
  --night: #0b2a3a;    /* hero and footer background */
  --paper: #f6f4ef;    /* page background, like the banner's paper */
  --ink: #141414;
  --ink-soft: #3a3f44;
  --focus: #ffbf47;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 1.125rem/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { flex: 1; display: flex; flex-direction: column; }
main > .hero:only-child { flex: 1; }
img { max-width: 100%; height: auto; }
h1, h2, .brand-name { font-family: "Oswald", "Arial Narrow", Impact, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--deep); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 6px #000; }
.shell { width: min(68rem, 100% - 2rem); margin-inline: auto; }
.narrow > * { max-width: 44rem; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: #fff; color: var(--deep); padding: .6rem 1rem; border: 2px solid var(--deep); border-radius: .4rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* Header: logo + name in the channel's bold lettering */
.site-header { background: #fff; border-bottom: 5px solid var(--ocean); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.brand img { width: 3.75rem; height: 3.75rem; }
.brand-name { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.nav-list { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.nav-list a:hover { text-decoration: underline; }
.nav-list a[aria-current="page"] { color: var(--deep); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .35em; }

/* Home hero: deep night blue with a soft wave of the logo's blues */
.hero { position: relative; overflow: hidden; color: #fff; padding-block: clamp(3rem, 8vw, 6rem); background:
  radial-gradient(120% 90% at 100% 100%, #38a8e055 0 30%, transparent 31%),
  radial-gradient(90% 70% at 100% 100%, #60c0e855 0 30%, transparent 31%),
  linear-gradient(160deg, var(--night), #0f3d55); display: flex; align-items: center; }
.hero-single { max-width: 48rem; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
.lead { font-size: 1.3rem; color: #e6f2f8; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.5rem; border-radius: .4rem; font-weight: 700; text-decoration: none; }
.button-primary { background: #fff; color: var(--deep); }
.button-primary:hover { background: #dff1fa; }
.button-outline { color: #fff; border: 2px solid #fff; }
.button-outline:hover { background: #ffffff1f; }

/* Inner pages */
.page-head { background: linear-gradient(160deg, var(--night), #0f3d55); color: #fff; padding-block: clamp(2rem, 5vw, 3rem); border-bottom: 5px solid var(--sky); }
.page-head h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); }
.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.contact-email { font-size: clamp(1.3rem, 3.5vw, 1.7rem); font-weight: 700; overflow-wrap: anywhere; }

.site-footer { background: var(--night); color: #dbe9f1; padding-block: 1.25rem; font-size: 1rem; }
.site-footer p { margin: 0; }

@media (forced-colors: active) { .button { border: 1px solid CanvasText; } .site-header, .page-head { border-color: CanvasText; } }
