/*
Theme Name: Olivander Consulting
Theme URI: https://www.olivander.it
Author: Olivander Consulting
Author URI: https://www.olivander.it
Description: Tema WordPress su misura per Olivander Consulting.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: olivander-consulting
*/

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/libre-franklin-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/libre-franklin-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #111a20;
  --ink-soft: #3f4b52;
  --cream: #f4f0e9;
  --paper: #fffdf9;
  --orange: #f15b2a;
  --orange-dark: #c44318;
  --line: rgba(17, 26, 32, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: 'Libre Franklin', Arial, sans-serif; letter-spacing: -.045em; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
p { font-family: inherit; }
button, input, textarea, select { font: inherit; }
.section { padding: clamp(88px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.section-label, .eyebrow { margin: 0; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.section-label { font-size: 14px; line-height: 1.4; }
.section-label.light, .eyebrow.light { color: #ff895f; }

.skip-link { position: fixed; z-index: 100000; top: 12px; left: 12px; padding: 12px 16px; color: #fff; background: #111a20; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 96px; padding: 0 clamp(24px, 5vw, 80px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; color: white; background: transparent !important; border-bottom: 1px solid rgba(255,255,255,.25); }
.admin-bar .site-header { top: 32px; }
.brand { width: clamp(165px, 16vw, 235px); filter: brightness(0) invert(1); }
.site-header nav { display: flex; gap: 32px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.site-header nav a, .nav-cta { transition: color .2s ease; }
.site-header a { color: white !important; }
.site-header nav a:hover, .nav-cta:hover { color: #ff895f; }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; }
.mobile-menu { display: none; }
.olivander-homepage .a2a_floating_style { display: none !important; }

.hero { position: relative; min-height: 760px; height: 100svh; display: flex; align-items: center; overflow: hidden; color: white; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 54% center; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,15,20,.94) 0%, rgba(7,15,20,.72) 48%, rgba(7,15,20,.08) 82%), linear-gradient(0deg, rgba(7,15,20,.42), transparent 48%); }
.hero-content { position: relative; z-index: 2; width: min(1060px, calc(100% - 48px)); margin-left: clamp(24px, 5vw, 80px); padding-top: 70px; }
.hero h1 { max-width: 1060px; font-size: clamp(58px, 6.35vw, 100px); line-height: .92; font-weight: 790; }
.hero-title > span { display: block; white-space: nowrap; }
.hero .eyebrow { margin-bottom: 25px; font-size: 14px; line-height: 1.4; }
.hero-copy { max-width: 640px; margin: 34px 0 0; color: rgba(255,255,255,.8); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 40px; }
.button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: 14px; font-weight: 760; transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.button.primary { background: var(--orange); color: white; }
.button.primary:hover { background: #ff7041; transform: translateY(-2px); }
.button.ghost { border: 1px solid rgba(255,255,255,.36); color: white; background: transparent !important; }
.button.ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.scroll-cue { position: absolute; z-index: 2; right: clamp(24px, 5vw, 80px); bottom: 40px; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }

.manifesto { display: grid; grid-template-columns: .42fr 1.58fr; gap: clamp(45px, 8vw, 130px); background: var(--orange); color: white; }
.manifesto .section-label { color: white; opacity: .8; padding-top: 13px; }
.manifesto-copy h2 { max-width: 1050px; font-size: clamp(44px, 5.5vw, 84px); line-height: 1.03; font-weight: 760; }
.manifesto-copy h2 em { color: var(--ink); }
.manifesto-copy p { max-width: 760px; margin: 38px 0 0; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: .3fr 1.18fr .52fr; gap: clamp(28px, 3vw, 48px); align-items: end; margin-bottom: 78px; }
.section-heading .section-label { align-self: start; padding-top: 12px; white-space: nowrap; }
.section-heading h2 { font-size: clamp(42px, 4.2vw, 62px); line-height: 1.03; font-weight: 760; }
.section-heading h2 em { display: inline-block; white-space: nowrap; }
.section-heading > p:last-child { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #d4cec5; }
.service-card { position: relative; isolation: isolate; min-height: 520px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; }
.service-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(6,14,18,.22), rgba(6,14,18,.88)); }
.service-card:hover img { transform: scale(1.035); }
.service-card > span { font-size: 11px; font-weight: 800; letter-spacing: .15em; color: #ff895f; }
.service-card h3 { font-size: clamp(31px, 3.2vw, 50px); line-height: 1.05; }
.service-card p { max-width: 540px; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; }

.journey { background: var(--ink); color: white; }
.journey-intro { display: grid; grid-template-columns: .28fr 1.22fr .5fr; gap: clamp(28px, 3vw, 48px); align-items: end; }
.journey-intro .section-label { align-self: start; padding-top: 12px; white-space: nowrap; }
.journey-intro h2 { font-size: clamp(42px, 4.15vw, 62px); line-height: 1.03; font-weight: 760; text-wrap: balance; }
.journey-intro > p:last-child { margin: 0; color: rgba(255,255,255,.62); font-size: 16px; line-height: 1.7; }
.journey-steps { margin: 92px 0 0 clamp(0px, 20vw, 310px); border-top: 1px solid rgba(255,255,255,.2); }
.journey-steps article { min-height: 150px; padding: 28px 0; display: grid; grid-template-columns: 70px .55fr 1fr; gap: 28px; align-items: start; border-bottom: 1px solid rgba(255,255,255,.2); }
.journey-steps span { color: var(--orange); font-size: 14px; font-weight: 800; letter-spacing: .15em; }
.journey-steps h3 { font-size: clamp(25px, 2.4vw, 38px); }
.journey-steps p { max-width: 420px; margin: 0; color: rgba(255,255,255,.6); line-height: 1.65; }

.tools { display: block; background: var(--cream); }
.tools-intro h2 { max-width: 1280px; margin-top: 30px; font-size: clamp(42px, 4.8vw, 72px); line-height: 1.03; font-weight: 760; white-space: nowrap; }
.tools-body { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(60px, 9vw, 145px); margin-top: clamp(60px, 7vw, 100px); align-items: start; }
.tools-visual { margin: 0; padding-top: 42px; border-top: 1px solid var(--line); }
.tools-visual img { width: 100%; aspect-ratio: 721/600; object-fit: contain; mix-blend-mode: multiply; }
.tools-visual figcaption { margin-top: 18px; color: var(--ink-soft); font-size: 10px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; }
.tool-stories { border-top: 1px solid var(--line); }
.tool-stories article { padding: 42px 0; border-bottom: 1px solid var(--line); }
.tool-stories h3 { max-width: 650px; margin-top: 20px; font-size: clamp(27px, 2.8vw, 42px); line-height: 1.08; }
.tool-stories article > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--ink-soft); line-height: 1.7; }

.founder { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(60px, 9vw, 145px); align-items: center; background: var(--paper); }
.founder-photo-wrap { position: relative; max-width: 600px; }
.founder-photo-wrap::before { content: ''; position: absolute; z-index: 1; inset: -14px auto auto -14px; width: 28%; height: 18%; border-top: 3px solid var(--orange); border-left: 3px solid var(--orange); }
.founder-photo-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.founder-copy h2 { margin-top: 28px; font-size: clamp(42px, 4.8vw, 72px); line-height: 1.03; font-weight: 760; }
.founder-copy > p:not(.section-label):not(.founder-meta) { max-width: 710px; margin: 22px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.72; }
.founder-meta { margin: 30px 0 0; color: var(--orange-dark); font-size: 11px; line-height: 1.7; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.text-link { margin-top: 32px; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--orange); color: var(--orange-dark); font-weight: 800; }

.quote { background: var(--orange); color: white; }
.quote blockquote { max-width: 1150px; margin: 0 auto; text-align: center; font-family: 'Libre Franklin', Arial, sans-serif; font-size: clamp(32px, 4.2vw, 64px); line-height: 1.22; letter-spacing: -.04em; font-weight: 650; }

.world { display: grid; grid-template-columns: .35fr 1.65fr; gap: clamp(38px, 7vw, 100px); background: #14212a; color: white; }
.world h2 { font-size: clamp(40px, 4.5vw, 68px); line-height: 1.04; font-weight: 760; }
.world > div > p { max-width: 720px; margin: 30px 0 0; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.72; }
.trust-strip { padding: 48px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: clamp(35px, 5vw, 70px); align-items: center; background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-strip > p { margin: 0; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; line-height: 1.55; }
.trust-strip > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 38px; color: #344149; font-family: 'Libre Franklin', Arial, sans-serif; font-size: 17px; font-weight: 760; }

.contact { display: grid; grid-template-columns: 1.25fr .55fr; gap: clamp(60px, 10vw, 160px); align-items: end; background: #0b1115; color: white; }
.contact h2 { font-size: clamp(44px, 5.2vw, 80px); line-height: 1.02; font-weight: 760; }
.contact-side p { margin: 0 0 32px; color: rgba(255,255,255,.64); font-size: 17px; line-height: 1.72; }
footer { min-height: 180px; padding: 44px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 42px; align-items: center; background: #080d10; color: rgba(255,255,255,.65); }
footer img { width: 225px; filter: brightness(0) invert(1); }
.company-details { margin: 0; display: grid; gap: 3px; text-align: center; font-style: normal; font-size: 11px; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; }
.company-details strong { color: rgba(255,255,255,.86); font-weight: 800; }
footer a { font-size: 13px; }
.footer-links { justify-self: end; display: grid; gap: 8px; justify-items: end; }
.footer-links a:last-child { color: rgba(255,255,255,.82); text-decoration: underline; text-underline-offset: 4px; }

.legal-page, .simple-page { min-height: 100vh; padding: clamp(34px, 5vw, 72px) clamp(24px, 8vw, 130px) 110px; background: var(--paper); }
.legal-brand { display: block; width: min(245px, 60vw); margin-bottom: clamp(80px, 10vw, 150px); }
.legal-page article, .simple-page-content { width: min(860px, 100%); margin: 0 auto; }
.legal-page h1, .simple-page h1 { margin-top: 26px; font-size: clamp(48px, 6vw, 86px); line-height: .98; font-weight: 780; }
.legal-page h1 em { color: var(--orange); font-style: normal; }
.legal-updated { margin: 24px 0 70px; color: var(--ink-soft); }
.legal-page h2, .entry-content h2 { margin-top: 48px; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.legal-page article > p:not(.section-label):not(.legal-updated), .simple-page-content p, .entry-content { margin: 16px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.legal-page article > p a, .entry-content a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }

a:focus-visible, button:focus-visible { outline: 3px solid #ffb197; outline-offset: 4px; }

@media (max-width: 1020px) {
  .site-header { height: 80px; grid-template-columns: 1fr auto; }
  .site-header > nav { display: none; }
  .site-header .nav-cta { display: none; }
  .mobile-menu { display: block; justify-self: end; }
  .mobile-menu-toggle { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; color: white; background: rgba(8,13,16,.5); border: 1px solid rgba(255,255,255,.42); cursor: pointer; }
  .mobile-menu-toggle svg { width: 24px; height: 24px; grid-area: 1 / 1; }
  .mobile-menu-toggle svg[hidden] { display: none; }
  .mobile-menu nav { position: absolute; top: 80px; left: 0; right: 0; padding: 20px clamp(24px, 5vw, 80px) 28px; display: grid; gap: 0; visibility: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; background: rgba(8,13,16,.97); border-bottom: 1px solid rgba(255,255,255,.2); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .mobile-menu nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu nav a { padding: 14px 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 18px; font-weight: 700; }
  .mobile-menu nav a:last-child { color: #ff895f; border-bottom: 0; }
  .hero { min-height: 760px; }
  .manifesto, .founder { grid-template-columns: 1fr; }
  .manifesto { gap: 50px; }
  .section-heading, .journey-intro { grid-template-columns: 1fr; gap: 28px; }
  .section-heading .section-label, .journey-intro .section-label { padding-top: 0; }
  .section-heading > p:last-child, .journey-intro > p:last-child { max-width: 620px; }
  .journey-steps { margin-left: 0; }
  .tools-body { grid-template-columns: 1fr; gap: 60px; }
  .tools-visual { width: min(100%, 640px); }
  .founder-photo-wrap { width: min(100%, 540px); }
  .world { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; gap: 26px; }
  .trust-strip > div { justify-content: flex-start; }
  .contact { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
  .section { padding: 82px 24px; }
  .brand { width: 158px; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,15,20,.94), rgba(7,15,20,.58)), linear-gradient(0deg, rgba(7,15,20,.65), transparent 50%); }
  .hero-content { padding-top: 40px; }
  .hero h1 { font-size: clamp(49px, 15.5vw, 70px); }
  .hero-title > span:first-child { white-space: normal; }
  .hero-title > span:last-child { font-size: .78em; }
  .hero-copy { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .tools-intro h2 { white-space: normal; text-wrap: balance; }
  .section-heading h2 em { white-space: normal; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 440px; padding: 25px; }
  .journey-steps article { grid-template-columns: 46px 1fr; gap: 16px; }
  .journey-steps article p { grid-column: 2; }
  .quote blockquote { text-align: left; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer img { justify-self: center; }
  .footer-links { justify-self: center; justify-items: center; }
}

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