/* Studio Verdi · Proposta A */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #233c33;
  --muted: #545b53;
  --sage: #e1e4d9;
  --line: #bfc5b8;
  --bronze: #806d51;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --gutter: clamp(24px, 5.6vw, 96px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #d9dece; color: #172d24; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button[hidden] { display: none; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1, h2 { letter-spacing: -.045em; }
em { font-weight: 400; }
p { color: var(--muted); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 6px; }
.shell { max-width: 1600px; padding-inline: var(--gutter); margin-inline: auto; }
.section-space { padding-block: clamp(72px, 7.1vw, 112px); }
.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; line-height: 1.6; text-transform: uppercase; color: #4a5b51; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; min-height: 48px; padding: 13px 22px; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; font-size: .85rem; font-weight: 400; line-height: 1.4; text-align: center; transition: background .25s, color .25s, border-color .25s; }
.button span[aria-hidden], .text-link span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease); }
.button:hover span[aria-hidden], .text-link:hover span[aria-hidden] { transform: translate(2px, -2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: #3d574a; }
.button-outline { border-color: #66736a; }
.button-outline:hover { background: var(--ink); color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; width: fit-content; font-size: .85rem; text-decoration: none; }
.link-label { position: relative; display: inline-block; }
.link-label::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
a:hover > .link-label::after, a:focus-visible > .link-label::after { transform: scaleX(1); }

/* Navigation */
.site-header { background: var(--paper); position: relative; z-index: 20; }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; flex-shrink: 0; }
.brand-name { font-family: var(--serif); font-size: 2.65rem; line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.brand-description { margin-top: 9px; font-size: .55rem; letter-spacing: .2em; line-height: 1.5; font-weight: 500; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); font-size: .84rem; }
.main-nav > a:not(.button) { position: relative; padding-block: 14px; }
.main-nav > a:not(.button)::after { content: ''; position: absolute; bottom: 8px; height: 1px; left: 0; right: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-contact { min-height: 44px; padding: 10px 24px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 12px 0 12px 12px; align-items: center; gap: 12px; font-size: .84rem; color: var(--ink); cursor: pointer; }
.menu-icon { display: grid; gap: 6px; width: 23px; }
.menu-icon i { height: 1px; background: currentColor; transition: transform .25s; }
.menu-toggle[aria-expanded='true'] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* First impression */
.hero { display: grid; grid-template-columns: 44% 56%; max-width: 1800px; margin-inline: auto; }
.hero-copy { padding: 64px clamp(32px, 4vw, 64px) 52px var(--gutter); align-self: center; }
.hero h1 { margin-top: 28px; font-size: clamp(64px, 6.55vw, 104px); line-height: .91; }
.hero h1 em { letter-spacing: -.035em; }
.hero-description { max-width: 440px; margin-top: 30px; font-size: 1rem; line-height: 1.65; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.hero-signature { margin-top: 48px; font-size: .63rem; letter-spacing: .2em; line-height: 1.9; text-transform: uppercase; color: #616e62; }
.hero-signature > span { display: block; width: 48px; height: 1px; margin-bottom: 15px; background: #8b998a; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; min-height: 720px; }
.hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-visual::before { content: ''; position: absolute; inset: 0 auto 0 0; width: clamp(70px, 25%, 230px); z-index: 1; background: linear-gradient(90deg, var(--paper), transparent); pointer-events: none; }
.hero-visual::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 130px; background: linear-gradient(transparent, #13221950); pointer-events: none; }
.hero-visual figcaption { position: absolute; bottom: 30px; right: 34px; left: 34px; text-align: right; z-index: 1; color: #fff; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }

/* Studio */
.studio-section { display: grid; grid-template-columns: 40% 1fr; column-gap: 44px; }
.section-label { display: flex; align-items: center; gap: 24px; align-self: start; padding-top: 14px; }
.section-label .eyebrow { white-space: nowrap; }
.label-rule { background: var(--line); height: 1px; flex: 1; max-width: 180px; }
h2 { font-size: clamp(44px, 4.8vw, 70px); line-height: 1; }
.studio-copy p { margin-top: 24px; max-width: 650px; }
.studio-copy p + p { margin-top: 14px; }
.studio-copy .text-link { margin-top: 18px; }

/* Competencies: a quiet list, not a card grid */
.expertise-section { background: var(--sage); }
.expertise-grid { display: grid; grid-template-columns: 40% 1fr; gap: 44px; }
.expertise-heading h2 { margin-top: 28px; }
.expertise-heading > p:not(.eyebrow):not(.section-note) { margin-top: 26px; max-width: 360px; }
.section-note { position: relative; margin-top: 26px; padding-top: 18px; font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.9; }
.section-note::before { content: ''; position: absolute; width: 48px; height: 1px; background: #8d9a86; top: 0; left: 0; }
.services { padding-top: 8px; align-self: center; }
.service { display: grid; grid-template-columns: 42px 1fr; gap: 24px; padding-block: 34px; border-bottom: 1px solid #b5bfaf; }
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; padding-bottom: 0; }
.service-number { font-family: var(--serif); font-size: 1.65rem; line-height: 1.2; font-weight: 400; }
.service h3 { font-size: clamp(29px, 2.4vw, 38px); line-height: 1.13; letter-spacing: -.03em; }
.service p { max-width: 530px; margin-top: 14px; }
.service-detail-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.service-detail-link > span { display: inline-block; font-family: var(--sans); font-size: .55em; vertical-align: middle; }

/* Method */
.method-section { display: grid; grid-template-columns: 53% 1fr; gap: clamp(40px, 5vw, 80px); max-width: 1800px; padding-right: var(--gutter); margin-inline: auto; align-items: center; }
.method-photo { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.method-photo img { object-fit: cover; width: 100%; min-height: 480px; height: 100%; flex: 1; object-position: 50% 50%; }
.method-photo figcaption { padding: 15px 0 0 var(--gutter); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; color: #5a685d; }
.method-copy h2 { margin-block: 23px; }
.method-copy > div > p:not(.eyebrow) { max-width: 510px; }
.method-steps { margin: 34px 0 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 35px 1fr; gap: 24px; padding-bottom: 25px; position: relative; }
.method-steps li:last-child { padding-bottom: 0; }
.step-number { padding-top: 2px; font-size: .75rem; color: #627363; }
.method-steps li > div { padding-left: 24px; border-left: 1px solid #bbc4b5; position: relative; }
.method-steps li > div::before { content: ''; width: 7px; height: 7px; background: #7b8e78; border-radius: 50%; position: absolute; left: -4px; top: 10px; }
.method-steps h3 { font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.method-steps p { font-size: .93rem; line-height: 1.6; }

/* Contact and demo disclosure */
.contact-section { background: var(--ink); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(48px, 7vw, 110px); padding-block: 72px; }
.contact-section .eyebrow { color: #d4ddce; }
.contact-copy h2 { margin: 24px 0; font-size: clamp(44px, 4.55vw, 66px); }
.contact-section p:not(.eyebrow) { color: #d6dcd1; }
.contact-copy > p:last-child { max-width: 570px; }
.demo-contact { padding-left: clamp(30px, 4vw, 60px); border-left: 1px solid #637768; }
.demo-contact h3 { font-size: 2.6rem; line-height: 1.05; letter-spacing: -.025em; margin: 16px 0; }
.demo-contact p:not(.eyebrow) { max-width: 400px; font-size: .94rem; }
.button-light { border-color: #b7c4b2; color: var(--paper); margin-top: 24px; }
.button-light:hover { background: var(--paper); color: var(--ink); }
.demo-contact small { display: block; margin-top: 16px; font-size: .75rem; line-height: 1.6; color: #c2cebc; }
.contact-section a:focus-visible { outline-color: #e3eadc; }
.site-footer { padding-block: 36px 26px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-footer .brand-name { font-size: 2.05rem; }
.site-footer .brand-description { font-size: .48rem; }
.site-footer nav { display: flex; gap: 24px; font-size: .79rem; }
.site-footer nav a { padding-block: 12px; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-credit { font-size: .77rem; }
.footer-credit strong { font-weight: 500; }
.demo-note { font-size: .72rem; margin-top: 28px; padding-top: 20px; border-top: 1px solid #d3d8cc; max-width: none; }

/* Progressive enhancement: visible by default, even without JavaScript. */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.will-reveal.is-visible, .will-reveal:focus-within { opacity: 1; transform: none; }

@media (min-width: 1800px) {
  .hero-copy { padding-left: 100px; }
}

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero { grid-template-columns: 47% 53%; }
  .hero-copy { padding: 52px 32px 42px var(--gutter); }
  .hero h1 { font-size: 76px; }
  .hero-visual { min-height: 710px; }
  .hero-actions { gap: 8px 20px; }
  .hero-signature { margin-top: 30px; }
  .main-nav { gap: 25px; }
  .studio-section, .expertise-grid { grid-template-columns: 36% 1fr; gap: 36px; }
  .method-section { grid-template-columns: 48% 1fr; gap: 40px; }
  .method-photo img { object-position: 45% center; }
  .footer-top { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 28px; }
  .header-inner { min-height: 92px; flex-wrap: wrap; gap: 0; padding-block: 18px; }
  .brand-name { font-size: 2.35rem; }
  .brand-description { font-size: .48rem; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
  .main-nav .button { min-height: 44px; }
  .has-menu .menu-toggle { display: flex; }
  .has-menu .main-nav { display: none; }
  .has-menu .main-nav.is-open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 42px var(--gutter) 44px; }
  .hero h1 { margin-top: 24px; font-size: clamp(64px, 11.8vw, 92px); line-height: .92; }
  .hero-description { max-width: 470px; margin-top: 26px; }
  .hero-actions { margin-top: 26px; gap: 12px 20px; }
  .hero-signature { margin-top: 30px; }
  .hero-visual { min-height: 0; aspect-ratio: 5/4; }
  .hero-visual img { object-position: center 60%; }
  .hero-visual figcaption { bottom: 20px; left: 24px; right: 24px; font-size: .59rem; }
  .section-space { padding-block: 64px; }
  .studio-section, .expertise-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-label { padding-top: 0; gap: 22px; }
  .label-rule { max-width: 120px; }
  h2 { font-size: clamp(43px, 8vw, 60px); }
  .studio-copy p { margin-top: 22px; }
  .expertise-heading h2 { margin-top: 22px; }
  .expertise-heading > p:not(.eyebrow):not(.section-note) { max-width: 480px; }
  .section-note { display: none; }
  .services { padding-top: 0; }
  .service, .service:first-child { padding-block: 28px; border-top: 1px solid #b5bfaf; border-bottom: 0; grid-template-columns: 30px 1fr; gap: 20px; }
  .service:last-child { padding-bottom: 0; }
  .service h3 { font-size: 32px; }
  .service p { margin-top: 12px; }
  .method-section { grid-template-columns: 1fr; padding-right: 0; gap: 38px; }
  .method-photo img { height: auto; min-height: 0; aspect-ratio: 3/2; object-position: center; }
  .method-photo figcaption { font-size: .6rem; padding-right: var(--gutter); }
  .method-copy { padding-inline: var(--gutter); }
  .method-steps { margin-top: 28px; }
  .method-steps li { gap: 14px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
  .contact-copy h2 { font-size: clamp(43px, 8.5vw, 60px); }
  .demo-contact { padding: 32px 0 0; border-left: 0; border-top: 1px solid #637768; }
  .demo-contact h3 { font-size: 2.4rem; }
  .footer-top { display: grid; gap: 22px; }
  .site-footer nav { flex-wrap: wrap; gap: 8px 24px; font-size: .87rem; }
  .footer-credit { font-size: .82rem; }
}

@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 60px; }
  .hero-copy { padding-top: 32px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .service h3 { font-size: 29px; }
}

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

@media print {
  .will-reveal { opacity: 1; transform: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 500px; }
  .site-header, .hero-actions, .menu-toggle, .site-footer nav { display: none !important; }
  .contact-section { background: white; color: #233c33; }
  .contact-section p, .contact-section small { color: #233c33 !important; }
  .button-light { color: #233c33; border-color: #233c33; }
}
