/*
Theme Name: Nauticscale
Description: Precision model yachts
Version: 1.0.0
Text Domain: nauticscale
*/

/* ============================================================
   FONTS — loaded via functions.php, declared here for reference
   Instrument Serif — headings
   Instrument Sans  — body
   ============================================================ */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Colors */
  --navy:       #2E4C64;
  --navy-dark:  #243c50;
  --ink:        #0E1A24;
  --bg:         #FCFBF6;
  --parchment:  #F1EAD1;
  --parchment-border: #dcd5be;
  --text:       #0E1A24;
  --text-mid:   #4a5460;
  --text-muted: #7a8490;
  --brass:      #A78A4B;
  --logo-plum:  #7A4F6E;

  /* Solutions section bg */
  --solutions-bg: #7A6B4E;

  /* Typography */
  --serif: 'Instrument Serif', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;

  /* Spacing */
  --s1:  4px;
  --s2:  8px;
  --s3:  12px;
  --s4:  16px;
  --s5:  24px;
  --s6:  32px;
  --s7:  48px;
  --s8:  64px;
  --s9:  96px;
  --s10: 128px;
  --s11: 160px;

  /* Layout */
  --pad: 5%;        /* left/right page padding */
  --header-h: 72px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--sans); cursor: pointer; background: none; border: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section {
  padding-top: var(--s11);
  padding-bottom: var(--s11);
}
.section--sm {
  padding-top: var(--s7);
  padding-bottom: var(--s7);
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary { background: var(--navy); color: var(--parchment); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: rgba(46,76,100,.06); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--parchment-border);
  display: flex;
  align-items: center;
    background-color: #f1ead1;

}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  height: 100%;
  width: 100%;
}

/* Brand */
.site-header__brand {
  display: flex;
  align-items: center;
  padding-left: var(--pad);
  padding-right: var(--s8);
  gap: 0;
}
.site-header__logo img { height: 40px; width: auto; }
.site-header__divider {
  width: 1px;
  height: 36px;
  background: var(--parchment-border);
  margin: 0 var(--s5);
  flex-shrink: 0;
}
.site-header__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.site-header__brand-name {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--logo-plum);
  line-height: 1;
}
.site-header__tagline {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1;
}

/* Nav */
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
}
.site-header__nav a {
  font-size: 16px;
  color: var(--text);
  transition: color 150ms ease;
}
.site-header__nav a:hover,
.site-header__nav a.is-active { color: var(--navy); }

/* Kontakt CTA panel */
.site-header__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  width: 220px;
}
.site-header__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: var(--parchment);
  transition: background 150ms ease;
}
.site-header__cta a:hover { background: var(--navy-dark); }
.site-header__cta-arrow { transition: transform 250ms ease; display: inline-block; }
.site-header__cta a:hover .site-header__cta-arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--bg); overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 640px;
}

.hero__content {
  padding: var(--s11) var(--s9) var(--s11) var(--pad);
}
.hero__heading {
  font-family: var(--serif);
  font-size: clamp(44px, 4.5vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s6);
}
.hero__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 54ch;
  margin-bottom: var(--s7);
}

/* Right: photo + navy decor block */
.hero__media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: var(--s9) 0 calc(var(--s9) + 48px) 0;
}
.hero__img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-right: 48px;
}
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Navy decorative block behind photo */
.hero__decor {
  position: absolute;
  bottom: 0; right: 0;
  left: 22%; top: 55%;
  background: var(--navy);
  z-index: 1;
}
.hero__sparkle {
  position: absolute;
  bottom: var(--s6);
  right: var(--s6);
  font-size: 20px;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  padding: var(--s7) 0;
  border-top: 1px solid var(--parchment-border);
  border-bottom: 1px solid var(--parchment-border);
}
.brands__inner {
  display: flex;
  align-items: center;
  gap: var(--s10);
}
.brands__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.45;
  max-width: 18ch;
  flex-shrink: 0;
  padding-right: var(--s10);
  border-right: 1px solid var(--parchment-border);
}
.brands__logos {
  display: flex;
  align-items: center;
  gap: var(--s9);
  flex-wrap: wrap;
}
.brands__logos img {
  height: 100%;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 250ms ease, filter 250ms ease;
}
.brands__logos img:hover { opacity: 1; filter: grayscale(0%); }

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s10);
  align-items: start;
}
.about__eyebrow {
  display: inline-block;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: var(--s5);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}
.about__heading {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s6);
}
.about__content p {
  color: var(--text-mid);
  margin-bottom: var(--s5);
  max-width: 58ch;
}
.about__cards { display: flex; flex-direction: column; gap: var(--s4); }
.about__card {
  background: var(--navy);
  color: var(--parchment);
  padding: var(--s7);
  border-radius: 4px;
}
.about__card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: var(--s4);
}
.about__card-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(241,234,209,.75);
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions { background: var(--solutions-bg); color: #f5edd8; }
.solutions__head { text-align: center; max-width: 72ch; margin: 0 auto var(--s9); }
.solutions__heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--s4);
}
.solutions__sub {
  font-size: 14px;
  color: rgba(245,237,216,.7);
  line-height: 1.65;
}
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
}
.solutions__col {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: var(--s7);
}
.solutions__col-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.solutions__list { display: flex; flex-direction: column; gap: var(--s4); }
.solutions__list li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245,237,216,.8);
  padding-left: var(--s4);
  border-left: 2px solid rgba(255,255,255,.2);
}
.solutions__list li strong { display: block; color: #f5edd8; font-weight: 600; margin-bottom: 2px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process__head { text-align: center; max-width: 72ch; margin: 0 auto var(--s9); }
.process__heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s4);
}
.process__sub { font-size: 16px; line-height: 1.65; color: var(--text-mid); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}
.process__img { overflow: hidden; background: var(--navy); aspect-ratio: ; }
.process__img img { width: 100%; height: auto; object-fit: cover; transition: transform 420ms ease; }
.process__img:hover img { transform: scale(1.04); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__heading {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--s9);
}
.faq__list { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--parchment-border); }
.faq__item:first-child { border-top: 1px solid var(--parchment-border); }
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s6);
  padding: var(--s5) 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.faq__question:hover { color: var(--navy); }
.faq__icon { font-size: 18px; color: var(--navy); transition: transform 250ms ease; display: inline-block; flex-shrink: 0; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer { padding-bottom: var(--s5); }
.faq__answer p { font-size: 16px; line-height: 1.65; color: var(--text-mid); max-width: 72ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--parchment);
  padding: var(--s11) 0 var(--s7);
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s5);
}
.site-footer__col ul li { margin-bottom: var(--s3); font-size: 14px; opacity: .8; }
.site-footer__col li:hover { opacity: 1; }
.site-footer__col p { font-family: var(--serif); font-size: 19px; line-height: 1.45; max-width: 34ch; opacity: .9; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s6);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(241,234,209,.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-header__cta { width: 180px; }
  .site-header__nav { gap: var(--s6); }
}

@media (max-width: 900px) {
  .hero__inner,
  .about__inner { grid-template-columns: 1fr; }
  .hero__content { padding: var(--s9) var(--pad) var(--s7); }
  .hero__media { padding: 0 0 var(--s8); min-height: 400px; }
  .hero__img-wrap { margin-right: 0; }
  .hero__decor { left: 40%; top: 50%; }
  .solutions__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .brands__inner { flex-direction: column; align-items: flex-start; }
  .brands__label { border-right: none; padding-right: 0; border-bottom: 1px solid var(--parchment-border); padding-bottom: var(--s5); }
  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .process__grid { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* WordPress required */
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }