/*
Theme Name: Aurestorm
Theme URI: https://www.youtube.com/@AurestormAmbience
Author: Aurestorm Ambience
Description: A lightweight block theme for original Aurestorm weather worlds.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: aurestorm
*/

:root {
  --aurestorm-ink: #070b0d;
  --aurestorm-deep: #0b1419;
  --aurestorm-storm: #10232d;
  --aurestorm-slate: #263a43;
  --aurestorm-fog: #b8c4c7;
  --aurestorm-paper: #f1efe8;
  --aurestorm-amber: #d28a43;
  --aurestorm-warm: #f0c48b;
  --aurestorm-line: rgba(241, 239, 232, .15);
  --aurestorm-page: min(1180px, calc(100vw - 40px));
}

html { scroll-behavior: smooth; }
body { background: var(--aurestorm-ink); color: var(--aurestorm-paper); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.1) .55px, transparent .55px); background-size: 5px 5px; z-index: 30; }
a { text-underline-offset: .2em; }
.wp-site-blocks { min-height: 100vh; }
.aurestorm-shell { width: var(--aurestorm-page); margin-inline: auto; }

.aurestorm-header { position: sticky; top: 0; z-index: 20; min-height: 82px; padding-inline: max(20px, calc((100vw - 1180px)/2)); background: rgba(7,11,13,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--aurestorm-line); }
.aurestorm-header > .wp-block-group { min-height: 82px; }
.aurestorm-brand { gap: 11px; text-decoration: none; }
.aurestorm-brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(240,196,139,.28); }
.aurestorm-brand-name { color: var(--aurestorm-paper); font-size: 13px; font-weight: 650; letter-spacing: .16em; line-height: 1; }
.aurestorm-brand-name small { display: block; margin-top: 6px; color: var(--aurestorm-fog); font-size: 8px; font-weight: 400; letter-spacing: .42em; }
.aurestorm-header .wp-block-navigation { font-size: 12px; letter-spacing: .07em; }
.aurestorm-header .wp-block-navigation-item__content { color: var(--aurestorm-fog); text-decoration: none; }
.aurestorm-header .wp-block-navigation-item__content:hover { color: var(--aurestorm-paper); }
.aurestorm-youtube > a { min-height: 44px; padding: 0 20px !important; border: 1px solid var(--aurestorm-amber); border-radius: 4px; color: var(--aurestorm-paper) !important; background: rgba(210,138,67,.08); display: inline-flex !important; align-items: center; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.aurestorm-youtube > a:hover { background: var(--aurestorm-amber); color: var(--aurestorm-ink) !important; }

.aurestorm-hero { min-height: 720px; position: relative; display: grid; align-items: end; background: linear-gradient(90deg, rgba(4,8,10,.93), rgba(4,8,10,.42) 48%, rgba(4,8,10,.08) 76%), linear-gradient(0deg, var(--aurestorm-ink), transparent 38%), url('assets/cabin-window-hero.jpg') center/cover; }
.aurestorm-hero-inner { width: var(--aurestorm-page); margin-inline: auto; padding: 120px 0 110px; }
.aurestorm-hero-copy { max-width: 720px; }
.aurestorm-eyebrow { margin: 0 0 20px; color: var(--aurestorm-warm); text-transform: uppercase; letter-spacing: .24em; font-size: 11px; }
.aurestorm-hero h1, .aurestorm-page-hero h1, .aurestorm-section h2, .aurestorm-card h2, .aurestorm-card h3, .aurestorm-intent h2, .aurestorm-intent h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.08; }
.aurestorm-hero h1 { max-width: 760px; margin: 0 0 26px; font-size: clamp(50px, 7vw, 96px); letter-spacing: -.04em; }
.aurestorm-hero-copy > p:not(.aurestorm-eyebrow) { max-width: 600px; color: #d4dcdd; font-size: 18px; }
.aurestorm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.aurestorm-button { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--aurestorm-amber); border-radius: 4px; color: var(--aurestorm-paper); background: rgba(210,138,67,.08); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.aurestorm-button:hover { background: var(--aurestorm-amber); color: var(--aurestorm-ink); }
.aurestorm-button-secondary { border-color: var(--aurestorm-line); background: rgba(7,11,13,.42); }
.aurestorm-button-secondary:hover { border-color: var(--aurestorm-paper); background: var(--aurestorm-paper); }

.aurestorm-quick-nav { width: var(--aurestorm-page); margin: -36px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(12,20,23,.97); border: 1px solid var(--aurestorm-line); border-radius: 8px; overflow: hidden; box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.aurestorm-quick-nav a { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; color: var(--aurestorm-fog); text-decoration: none; font-size: 12px; letter-spacing: .06em; }
.aurestorm-quick-nav a + a { border-left: 1px solid var(--aurestorm-line); }
.aurestorm-quick-nav a::after { content: "\2192"; color: var(--aurestorm-amber); font-size: 17px; }
.aurestorm-quick-nav a:hover { color: var(--aurestorm-paper); background: rgba(255,255,255,.03); }

.aurestorm-section { width: var(--aurestorm-page); margin-inline: auto; padding: 105px 0; }
.aurestorm-section + .aurestorm-section { border-top: 1px solid var(--aurestorm-line); }
.aurestorm-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.aurestorm-section h2 { margin: 0; font-size: clamp(36px, 5vw, 62px); letter-spacing: -.025em; }
.aurestorm-section-head > p { margin: 0; color: var(--aurestorm-fog); max-width: 540px; }
.aurestorm-intents { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--aurestorm-line); border-radius: 8px; overflow: hidden; }
.aurestorm-intent { min-height: 410px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; color: inherit; text-decoration: none; background: linear-gradient(140deg, #101e25, #080d10); }
.aurestorm-intent + .aurestorm-intent { border-left: 1px solid var(--aurestorm-line); background: linear-gradient(140deg, #1a1712, #090d0f); }
.aurestorm-intent-number { color: var(--aurestorm-amber); font-family: Georgia, serif; font-size: 68px; opacity: .62; }
.aurestorm-intent h3 { margin-bottom: 12px; font-size: 28px; }
.aurestorm-intent p { color: var(--aurestorm-fog); }
.aurestorm-text-link { color: var(--aurestorm-warm); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }

.aurestorm-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.aurestorm-card { grid-column: span 4; min-height: 440px; position: relative; overflow: hidden; border: 1px solid var(--aurestorm-line); border-radius: 8px; color: inherit; text-decoration: none; background: var(--aurestorm-deep); }
.aurestorm-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.aurestorm-card:hover img { transform: scale(1.025); }
.aurestorm-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,8,10,.95), transparent 68%); }
.aurestorm-card-copy { position: absolute; inset: auto 26px 24px; z-index: 2; }
.aurestorm-card h3 { margin: 0 0 8px; font-size: 27px; }
.aurestorm-card p { margin: 0; color: var(--aurestorm-fog); font-size: 14px; }
.aurestorm-card-label { display: inline-block; margin-bottom: 13px; color: var(--aurestorm-warm); font-size: 10px; letter-spacing: .19em; text-transform: uppercase; }

.aurestorm-page-hero { width: var(--aurestorm-page); margin-inline: auto; padding: 120px 0 70px; }
.aurestorm-page-hero h1 { max-width: 960px; margin: 0 0 24px; font-size: clamp(48px, 7vw, 90px); letter-spacing: -.04em; }
.aurestorm-page-hero > p:not(.aurestorm-eyebrow) { max-width: 720px; color: var(--aurestorm-fog); font-size: 18px; }
.aurestorm-breadcrumbs { width: var(--aurestorm-page); margin: 28px auto -76px; color: var(--aurestorm-fog); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.aurestorm-breadcrumbs a { color: var(--aurestorm-fog); text-decoration: none; }
.aurestorm-breadcrumbs a:hover { color: var(--aurestorm-paper); }
.aurestorm-breadcrumbs span { margin-inline: 8px; color: var(--aurestorm-amber); }
.aurestorm-prose { width: min(760px, calc(100vw - 40px)); margin: 0 auto; padding: 20px 0 105px; }
.aurestorm-prose p, .aurestorm-prose li { color: var(--aurestorm-fog); }
.aurestorm-prose h2 { margin-top: 62px; font-family: Georgia, serif; font-size: 40px; font-weight: 400; }
.aurestorm-notice { margin-bottom: 28px; padding: 18px 20px; color: var(--aurestorm-fog); background: rgba(210,138,67,.08); border-left: 2px solid var(--aurestorm-amber); }

.aurestorm-query { width: var(--aurestorm-page); margin-inline: auto; padding-bottom: 105px; }
.aurestorm-query .wp-block-post-template { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aurestorm-query .wp-block-post { padding: 28px; border: 1px solid var(--aurestorm-line); border-radius: 8px; background: var(--aurestorm-deep); }
.aurestorm-query .wp-block-post-title { font-family: Georgia, serif; font-weight: 400; }
.aurestorm-query .wp-block-post-title a { color: var(--aurestorm-paper); text-decoration: none; }
.aurestorm-query .wp-block-post-excerpt { color: var(--aurestorm-fog); }
.aurestorm-release-player { width: var(--aurestorm-page); margin: 0 auto 80px; overflow: hidden; border: 1px solid var(--aurestorm-line); border-radius: 8px; background: var(--aurestorm-deep); }
.aurestorm-release-player img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.aurestorm-release-player-copy { padding: 34px; }
.aurestorm-release-player-copy p { color: var(--aurestorm-fog); }

.aurestorm-footer { width: var(--aurestorm-page); margin-inline: auto; padding: 60px 0; border-top: 1px solid var(--aurestorm-line); color: var(--aurestorm-fog); }
.aurestorm-footer .wp-block-navigation { font-size: 13px; }
.aurestorm-footer-note { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 960px) {
  .aurestorm-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--aurestorm-ink); color: var(--aurestorm-paper); padding: 28px; }
  .aurestorm-section-head { grid-template-columns: 1fr; gap: 14px; }
  .aurestorm-quick-nav { grid-template-columns: 1fr 1fr; margin-top: -24px; }
  .aurestorm-quick-nav a:nth-child(3) { border-left: 0; border-top: 1px solid var(--aurestorm-line); }
  .aurestorm-quick-nav a:nth-child(4) { border-top: 1px solid var(--aurestorm-line); }
  .aurestorm-card { grid-column: span 6; }
  .aurestorm-query .wp-block-post-template { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --aurestorm-page: calc(100vw - 28px); }
  .aurestorm-header { min-height: 72px; padding-inline: 14px; }
  .aurestorm-header > .wp-block-group { min-height: 72px; }
  .aurestorm-hero { min-height: 650px; background-position: 58% center; }
  .aurestorm-hero-inner { padding-bottom: 72px; }
  .aurestorm-quick-nav, .aurestorm-intents, .aurestorm-query .wp-block-post-template { grid-template-columns: 1fr; }
  .aurestorm-quick-nav a + a, .aurestorm-quick-nav a:nth-child(3) { border-left: 0; border-top: 1px solid var(--aurestorm-line); }
  .aurestorm-section { padding: 76px 0; }
  .aurestorm-intent { min-height: 340px; padding: 34px; }
  .aurestorm-intent + .aurestorm-intent { border-left: 0; border-top: 1px solid var(--aurestorm-line); }
  .aurestorm-card { grid-column: 1 / -1; min-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
