/* Clara's Coffee Brasil — a self-contained, responsive, editorial website. */
:root {
  --paper: #f7f5ee;
  --ivory: #fffdf8;
  --cream: #efebdf;
  --warm: #eae5d6;
  --green: #284a38;
  --green-deep: #18372c;
  --green-soft: #d9e1d3;
  --espresso: #392a24;
  --ink: #2c3029;
  --muted: #697067;
  --gold: #e5b962;
  --gold-light: #f7dfa6;
  --line: rgba(43,51,43,.17);
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(.2,.7,.16,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin-top: 0; }
::selection { color: var(--green-deep); background: var(--gold-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(1280px, calc(100% - 8vw)); margin-inline: auto; }
.section-space { padding-block: clamp(88px, 10.2vw, 164px); }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 9999; background: var(--gold); padding: 12px 20px; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.eyebrow { display: flex; align-items: center; gap: 13px; font: 700 11px/1.5 var(--sans); letter-spacing: .19em; color: var(--green); text-transform: uppercase; margin: 0 0 25px; }
.eyebrow-rule { display: block; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--gold-light); }
.display-title { font-family: var(--serif); font-size: clamp(42px, 5vw, 76px); letter-spacing: -.046em; font-weight: 400; line-height: 1.07; color: var(--espresso); }
.display-title em { color: var(--green); font-weight: 400; }
.btn { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-weight: 700; font-size: 12px; letter-spacing: .035em; line-height: 1.25; padding: 20px 27px; border-radius: 3px; min-height: 55px; transition: background .25s, color .25s, transform .3s var(--ease), box-shadow .3s; cursor: pointer; }
.btn:hover { transform: translateY(-3px); }
.btn span:last-child:not(:first-child) { font-size: 19px; line-height: 1; font-weight: 400; }
.btn-gold { background: var(--gold); color: #2d2b23; }
.btn-gold:hover { background: #f4cf83; box-shadow: 0 12px 30px #0003; }
.btn-green { color: #fffdf6; background: var(--green); }
.btn-green:hover { background: #355f48; box-shadow: 0 12px 30px #142c1d26; }
.btn-small { padding: 15px 20px; min-height: 44px; }
.btn-icon { height: 18px; width: 18px; }
.underlined-link { display: inline-flex; gap: 24px; align-items: center; padding-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--green); border-bottom: 1px solid currentColor; transition: gap .25s; }
.underlined-link:hover { gap: 36px; }
.underlined-link span { font-size: 20px; font-weight: normal; }

/* Header */
.topline { background: var(--green-deep); color: #f1e9d8; min-height: 32px; padding: 6px 12px; text-align: center; font: 700 9px/1.8 var(--sans); letter-spacing: .23em; display: flex; gap: 16px; align-items: center; justify-content: center; }
.topline-deco { color: var(--gold); font-size: 12px; }
.topline-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex: none; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,253,248,.965); border-bottom: 1px solid rgba(52,61,45,.11); backdrop-filter: blur(18px); transition: box-shadow .25s, background .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(43,45,33,.07); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; color: var(--green-deep); }
.brand-symbol { width: 54px; height: 54px; flex: none; }
.brand-type { display: flex; flex-direction: column; align-items: flex-start; }
.brand-name { font: 400 34px/.85 var(--serif); letter-spacing: -.06em; }
.brand-dot { color: #c89b4a; }
.brand-sub { font: 700 9px/1.5 var(--sans); letter-spacing: .31em; margin-top: 6px; margin-left: 2px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
.desktop-nav a { font-size: 12px; font-weight: 700; color: #4b554a; transition: color .2s; position: relative; padding: 10px 0; }
.desktop-nav a::after { position: absolute; content: ""; bottom: 2px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--green); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { width: 100%; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 6px; height: 45px; width: 45px; padding: 11px; background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; z-index: 3; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--green); transform-origin: center; transition: transform .25s, opacity .2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero { min-height: 770px; min-height: min(820px, calc(100svh - 124px)); position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: #2a392b; isolation: isolate; }
.hero-picture { position: absolute; inset: 0; z-index: -1; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; animation: heroFloat 25s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,25,.93) 0%, rgba(24,36,27,.83) 29%, rgba(32,38,27,.41) 66%, rgba(20,30,24,.13) 100%), linear-gradient(0deg, rgba(13,27,20,.69), transparent 36%); }
.hero-content { min-height: 610px; display: flex; justify-content: space-between; align-items: center; padding-top: clamp(80px, 9vw, 154px); padding-bottom: 65px; position: relative; }
.hero-copy { max-width: 760px; color: #fffdf8; }
.hero h1 { font: 400 clamp(60px, 7.8vw, 116px)/.99 var(--serif); letter-spacing: -.062em; max-width: 860px; margin: 0 0 28px; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { max-width: 545px; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.85; color: #eee9d9; margin-bottom: 35px; }
.hero-actions { display: flex; align-items: center; gap: 35px; flex-wrap: wrap; }
.text-link { font-size: 12px; font-weight: 700; letter-spacing: .035em; border-bottom: 1px solid currentColor; padding: 10px 0; display: inline-flex; gap: 22px; align-items: center; }
.text-link-light { color: #f6e9c9; }
.text-link span { font-size: 19px; }
.hero-roundel { position: absolute; right: 1.5vw; top: 19%; height: clamp(124px, 12.5vw, 178px); width: clamp(124px, 12.5vw, 178px); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #ffebacbb; color: #ffe8a8; background: rgba(31,56,42,.33); backdrop-filter: blur(4px); transform: rotate(12deg); text-align: center; font: 700 10px/1.45 var(--sans); letter-spacing: .17em; }
.hero-roundel svg { height: 28px; width: 40px; }
.hero-bottom { color: #f9f1df; display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; font: 700 10px/1.5 var(--sans); letter-spacing: .14em; }
.hero-bottom > span { text-transform: none; letter-spacing: .04em; font-size: 12px; font-weight: 400; }
.tiny-sun { color: var(--gold); margin-right: 8px; font-size: 17px; }
.hero-bottom a { color: #f3e8d2; display: flex; align-items: center; gap: 16px; }
.hero-down { border: 1px solid #f7ebca9c; width: 33px; height: 33px; border-radius: 50%; font-size: 19px; display: inline-grid; place-items: center; transition: transform .3s; }
.hero-bottom a:hover .hero-down { transform: translateY(5px); }
@keyframes heroFloat { to { transform: scale(1.065); } }

/* Brand ribbon */
.ribbon { overflow: hidden; background: var(--gold); height: 54px; display: flex; align-items: center; }
.ribbon-track { display: flex; align-items: center; gap: 38px; min-width: max-content; font: 700 11px/1 var(--sans); letter-spacing: .15em; color: var(--green-deep); animation: ribbonFlow 45s linear infinite; }
.ribbon-track span:nth-child(even) { font-size: 16px; }
@keyframes ribbonFlow { to { transform: translateX(-50%); } }

/* Introduction */
.intro-section { background: var(--ivory); }
.intro-grid { display: grid; grid-template-columns: .98fr 1.02fr; gap: clamp(55px, 7vw, 125px); align-items: center; }
.intro-copy .display-title { font-size: clamp(39px, 4.4vw, 68px); margin-bottom: 28px; }
.lead { font: 400 clamp(16px, 1.25vw, 19px)/1.9 var(--sans); color: #69716a; max-width: 530px; margin-bottom: 32px; }
.signature-mark { color: #6b765f; margin-top: 65px; font: italic 18px var(--serif); max-width: 230px; transform: rotate(-5deg); }
.signature-mark span { display: block; font-size: 27px; color: var(--green); }
.signature-mark svg { width: 100px; height: 25px; margin: 10px 0 0 60px; }
.intro-photos { height: clamp(440px, 49vw, 660px); position: relative; }
.intro-photo-main { position: absolute; top: 0; right: 0; width: 85%; height: 84%; overflow: hidden; border-radius: 170px 170px 3px 3px; }
.intro-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; transition: transform 1s var(--ease); }
.intro-photo-main:hover img, .intro-photo-small:hover img { transform: scale(1.06); }
.photo-index { position: absolute; right: 25px; top: 26px; background: rgba(250,249,243,.94); color: var(--green-deep); font: 700 9px/1 var(--sans); letter-spacing: .16em; padding: 13px 16px; }
.intro-photo-small { position: absolute; bottom: 0; left: 0; width: 47%; height: 43%; border: 8px solid var(--ivory); overflow: hidden; border-radius: 3px; }
.intro-photo-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.intro-stamp { position: absolute; left: 5%; top: 7%; height: 112px; width: 112px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--gold); color: var(--green-deep); transform: rotate(-18deg); border: 4px solid var(--ivory); box-shadow: 0 10px 30px #0002; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.intro-stamp strong { font-size: 27px; line-height: 1; }

/* Family story */
.story-section { background: #f3f0e6; }
.story-heading { display: grid; grid-template-columns: 1.25fr .55fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.story-heading .display-title { margin-bottom: 0; }
.story-heading-note { color: var(--muted); border-left: 2px solid var(--gold); padding-left: 25px; font: italic clamp(19px, 1.8vw, 26px)/1.55 var(--serif); max-width: 330px; }
.story-divider { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .19em; color: var(--green); font-weight: 700; padding-bottom: 20px; border-bottom: 1px solid #b6b8a9; }
.story-flower { font-size: 22px; color: #b18b50; }
.story-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 6vw, 110px); padding-block: 54px 48px; }
.story-column p { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.95; letter-spacing: .005em; color: #51594e; margin-bottom: 23px; }
.story-column p:last-child { margin-bottom: 0; }
.story-column strong { color: #233e30; font-weight: 700; }
.story-dropcap { float: left; font: 400 86px/.7 var(--serif); color: var(--green); padding: 13px 12px 0 0; }
.story-timeline { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid #b8b9ab; padding-top: 40px; gap: 15px; }
.story-timeline > div { padding: 0 12px 0 0; position: relative; }
.story-timeline > div::before { content: ""; height: 9px; width: 9px; background: var(--gold); border: 3px solid var(--green); border-radius: 50%; position: absolute; top: -47px; left: 0; }
.story-timeline strong { display: block; font: 400 clamp(28px, 3.2vw, 47px)/1 var(--serif); color: var(--green); letter-spacing: -.04em; margin-bottom: 14px; }
.story-timeline span { display: block; color: #626a60; font: 700 11px/1.8 var(--sans); }

/* Family images */
.family-gallery { padding-block: 100px 125px; background: var(--ivory); }
.family-photo-heading { text-align: center; max-width: 800px; margin: 0 auto 48px; }
.family-photo-heading .eyebrow { justify-content: center; }
.family-photo-heading .display-title { margin-bottom: 15px; }
.family-photo-heading p:last-child { color: var(--muted); line-height: 1.7; }
.family-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.family-photo { height: clamp(360px, 45vw, 640px); overflow: hidden; position: relative; margin: 0; background: #ddd5c5; }
.family-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(12,22,14,.8)); pointer-events: none; }
.family-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 1s var(--ease); }
.family-photo:hover img { transform: scale(1.055); }
.family-photo figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: clamp(20px, 3vw, 43px); color: #fff9ec; z-index: 1; }
.family-photo figcaption span { display: block; letter-spacing: .16em; font-size: 9px; font-weight: 700; color: #f5cf8b; margin-bottom: 10px; }
.family-photo figcaption strong { font: 400 clamp(25px, 2.9vw, 41px)/1.17 var(--serif); }
.family-photo-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 25px; gap: 15px; color: var(--muted); font: italic 20px var(--serif); }
.family-photo-bottom span:last-child { color: var(--gold); font: 22px var(--serif); letter-spacing: 10px; }

/* Process */
.process-section { background: var(--paper); }
.process-intro { text-align: center; max-width: 860px; margin: 0 auto 72px; }
.process-intro .eyebrow { justify-content: center; }
.process-intro .display-title { margin-bottom: 22px; }
.process-intro > p:last-child { max-width: 615px; font-size: 17px; line-height: 1.85; color: var(--muted); margin-inline: auto; }
.process-layout { display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(60px, 7vw, 120px); align-items: start; }
.process-visual { height: 830px; position: sticky; top: 132px; }
.process-image-main { width: 89%; height: 77%; overflow: hidden; border-radius: 180px 180px 3px 3px; }
.process-image-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.process-image-overlay { position: absolute; bottom: 4%; right: 0; height: 39%; width: 50%; border: 10px solid var(--paper); box-shadow: 0 24px 40px #302d1c15; }
.process-image-overlay img { height: 100%; width: 100%; object-fit: cover; object-position: center 30%; }
.process-photo-note { position: absolute; left: 7%; bottom: 4%; color: var(--green); display: flex; flex-direction: column; gap: 10px; }
.process-photo-note span:first-child { font: italic 40px/1 var(--serif); color: #b58e4e; }
.process-photo-note span:last-child { font-size: 10px; line-height: 1.65; font-weight: 700; letter-spacing: .17em; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-step { display: grid; grid-template-columns: 72px 1fr; gap: 20px; border-top: 1px solid #c2c7ba; padding: 32px 0 36px; }
.process-step:last-child { border-bottom: 1px solid #c2c7ba; }
.step-number { font: italic 32px/1.3 var(--serif); color: #ad925d; }
.process-step h3 { font: 400 clamp(22px, 2.1vw, 32px)/1.25 var(--serif); letter-spacing: -.03em; color: var(--espresso); margin-bottom: 12px; }
.process-step p { font-size: 14px; line-height: 1.9; color: #697067; max-width: 540px; margin-bottom: 0; }

/* Visual portfolio */
.portfolio-section { color: #fff9e7; background: var(--green-deep); padding-block: 105px 60px; overflow: hidden; }
.portfolio-heading { display: grid; grid-template-columns: 1fr .42fr; align-items: end; gap: 50px; padding-bottom: 45px; }
.portfolio-heading .display-title { color: #fff9e7; margin: 0; }
.portfolio-heading .display-title em { color: var(--gold-light); }
.portfolio-intro p { color: #ced9cb; font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
.pause-button { border: 1px solid #acc7ad72; background: transparent; color: #f9edce; display: inline-flex; align-items: center; gap: 11px; border-radius: 50px; padding: 10px 17px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s; }
.pause-button:hover { background: #fff2; }
.pause-icon { display: inline-block; font-size: 17px; font-weight: 800; line-height: 1; }
.portfolio-window { overflow: hidden; width: 100%; }
.portfolio-track { display: flex; width: max-content; animation: portfolioMarquee 65s linear infinite; }
.portfolio-track.is-paused, .portfolio-track:hover { animation-play-state: paused; }
.portfolio-set { display: flex; gap: 20px; padding-right: 20px; width: max-content; }
.portfolio-card { position: relative; width: clamp(260px, 28vw, 390px); height: clamp(320px, 31vw, 430px); flex: none; margin: 0; background: #405342; overflow: hidden; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-card::after { position: absolute; content: ""; inset: 50% 0 0; background: linear-gradient(transparent, rgba(8,23,14,.72)); pointer-events: none; }
.portfolio-card figcaption { position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; padding: 25px 26px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font: 400 22px/1.1 var(--serif); color: #fff; }
.portfolio-card figcaption span { font: 700 10px/1 var(--sans); letter-spacing: .16em; color: var(--gold-light); }
.portfolio-end { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font: 700 10px/1.4 var(--sans); letter-spacing: .16em; color: #c2cfbb; }
.portfolio-end span:last-child { font-size: 24px; color: var(--gold); }
@keyframes portfolioMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Coffee presentation */
.coffee-section { background: var(--ivory); }
.coffee-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 55px; }
.coffee-heading .display-title { margin-bottom: 0; }
.coffee-heading > p { max-width: 350px; font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 6px; }
.coffee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coffee-card { display: flex; flex-direction: column; background: #f1f0e7; border: 1px solid #e8e7dd; min-width: 0; transition: transform .4s var(--ease), box-shadow .4s; }
.coffee-card:hover { transform: translateY(-8px); box-shadow: 0 28px 40px #253d2612; }
.coffee-image { height: clamp(275px, 30vw, 400px); overflow: hidden; position: relative; background: #d1c8af; }
.coffee-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.coffee-card-green .coffee-image img { object-position: 55% 75%; }
.coffee-card-medium .coffee-image img { object-position: center; }
.coffee-card-dark .coffee-image img { object-position: center 50%; }
.coffee-card:hover .coffee-image img { transform: scale(1.065); }
.coffee-number { position: absolute; top: 19px; left: 19px; color: #20382a; background: #faf5dfde; backdrop-filter: blur(5px); font-size: 9px; font-weight: 700; letter-spacing: .14em; padding: 12px 14px; }
.coffee-info { display: flex; flex-direction: column; flex: 1; padding: clamp(28px, 3vw, 42px); }
.coffee-kicker { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .16em; display: flex; align-items: center; gap: 8px; }
.coffee-dot { width: 6px; height: 6px; border-radius: 50%; background: #a17e42; }
.coffee-info h3 { font: 400 clamp(40px, 4vw, 62px)/.98 var(--serif); color: var(--espresso); letter-spacing: -.05em; margin: 20px 0 25px; }
.coffee-info h3 em { font-weight: 400; color: var(--green); }
.coffee-info > p { color: #657064; font-size: 14px; line-height: 1.9; flex: 1; min-height: 140px; }
.coffee-info-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #c9cec0; margin-top: 20px; padding-top: 21px; }
.coffee-info-foot span { font-size: 11px; font-weight: 700; color: var(--green); }
.coffee-info-foot a { width: 44px; height: 44px; display: grid; place-items: center; background: var(--green); border-radius: 50%; color: #fff; font-size: 24px; font-family: var(--sans); transition: background .25s, transform .25s; flex: none; }
.coffee-info-foot a:hover { background: #4d765a; transform: rotate(45deg); }
.coffee-note { color: #7e837a; text-align: center; font: italic 20px/1.5 var(--serif); margin-top: 47px; margin-bottom: 0; }
.coffee-note a { color: var(--green); font-weight: 700; border-bottom: 1px solid #9caa98; }
.coffee-note a:hover { color: #ad813f; }

/* Letter */
.letter-section { background: var(--espresso); color: #fff9ec; overflow: hidden; }
.letter-layout { padding-top: clamp(85px, 9vw, 140px); padding-bottom: clamp(85px, 9vw, 140px); display: grid; grid-template-columns: 56px 1.1fr .7fr; gap: clamp(30px, 4vw, 80px); align-items: center; position: relative; }
.letter-ornament { align-self: start; font: 400 125px/.8 var(--serif); color: #d3a95c; opacity: .65; margin-top: 38px; }
.letter-content .display-title { color: #fff9ec; margin-bottom: 32px; }
.letter-content .display-title em { color: var(--gold-light); }
.letter-content > p:not(.eyebrow) { color: #ebe0cc; font-size: 15px; line-height: 1.92; max-width: 610px; margin-bottom: 20px; }
.letter-content > p.letter-closing { color: #f7e7bd; font-style: italic; }
.letter-signature { display: flex; flex-direction: column; gap: 9px; padding-top: 22px; }
.letter-signature > span { font: italic 19px var(--serif); color: #e4d2b5; }
.letter-signature strong { font: italic 35px/1.14 var(--serif); color: #f6deab; font-weight: 400; }
.letter-signature small { letter-spacing: .19em; font-size: 9px; font-weight: 700; margin-top: 12px; color: #bdc5ad; }
.letter-photo { height: clamp(480px, 47vw, 680px); position: relative; border: 9px solid rgba(236,213,168,.22); }
.letter-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px #180e0f4d; pointer-events: none; }
.letter-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center; filter: sepia(.08) saturate(.85); }
.photo-corner { position: absolute; bottom: -18px; right: -16px; background: var(--gold); width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); font-size: 35px; font-family: var(--serif); transform: rotate(-9deg); z-index: 1; }

/* Contact */
.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 145px); align-items: center; }
.contact-photo { height: clamp(440px, 45vw, 610px); position: relative; overflow: hidden; border-radius: 220px 220px 3px 3px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.contact-photo-tag { position: absolute; left: 33px; bottom: 36px; color: #fff; background: #254536e8; padding: 20px 26px; display: flex; flex-direction: column; gap: 2px; }
.contact-photo-tag span { font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.contact-photo-tag strong { font: italic 35px/1 var(--serif); color: #f5d79b; font-weight: 400; }
.contact-copy { position: relative; }
.contact-copy .display-title { margin-bottom: 30px; }
.contact-copy > p:not(.eyebrow):not(.contact-number) { font-size: 17px; color: #697068; line-height: 1.9; max-width: 510px; margin-bottom: 30px; }
.btn-large { padding: 21px 32px; font-size: 13px; gap: 18px; }
.whatsapp-icon { height: 23px; width: 23px; flex: none; }
.contact-number { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.contact-number a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-sun { position: absolute; right: 0; bottom: -80px; color: #decfa8; font-size: 130px; line-height: 1; z-index: -1; }

/* Footer */
.site-footer { background: var(--green-deep); color: #f1f4e9; }
.footer-top { padding: 32px 0; border-bottom: 1px solid #71836c5b; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-top p { color: #b7caaf; font-size: 10px; font-weight: 700; letter-spacing: .19em; margin: 0; }
.footer-back { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: #e0d7b9; white-space: nowrap; }
.footer-back span { font-size: 19px; padding-left: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr .75fr 1fr; gap: clamp(45px, 7vw, 120px); padding-block: clamp(80px, 8vw, 125px); }
.footer-brand { color: #faf3dd; margin-bottom: 29px; }
.footer-brand .brand-symbol { height: 65px; width: 65px; }
.footer-brand .brand-name { font-size: 44px; }
.footer-brand .brand-sub { font-size: 10px; }
.footer-about > p { max-width: 360px; color: #becdbd; font-size: 14px; line-height: 1.85; margin-bottom: 30px; }
.footer-seal { display: inline-flex; gap: 15px; align-items: center; border: 1px solid #9bad8c56; border-radius: 25px; padding: 12px 19px; font-size: 9px; letter-spacing: .14em; color: #d5daba; }
.footer-seal span { font-size: 18px; color: var(--gold); }
.footer-grid h3 { font: 700 10px/1.4 var(--sans); letter-spacing: .2em; color: #e4c181; margin: 12px 0 33px; }
.footer-menu nav { display: flex; flex-direction: column; align-items: start; gap: 18px; }
.footer-menu nav a { font: 400 17px var(--serif); color: #e5e9da; transition: color .2s, transform .2s; }
.footer-menu nav a:hover { color: var(--gold); transform: translateX(5px); }
.footer-contact p { color: #cad4c6; font-size: 13px; line-height: 1.9; margin-bottom: 19px; }
.footer-phone { display: block; font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 30px; }
.btn-footer { background: var(--gold); color: var(--green-deep); padding: 16px 23px; font-size: 12px; }
.btn-footer:hover { background: #f7d48d; }
.footer-bottom { border-top: 1px solid #71836c5b; padding: 26px 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 10px; letter-spacing: .07em; color: #acbca9; }
.footer-bottom span:last-child { font-size: 9px; letter-spacing: .17em; }
.footer-bottom span:last-child span { color: var(--gold); }
.floating-wa { position: fixed; width: 60px; height: 60px; border-radius: 50%; right: 26px; bottom: 23px; color: #fff; background: #2e8c54; z-index: 70; display: grid; place-items: center; box-shadow: 0 10px 30px #0a311e50; border: 2px solid white; transition: transform .25s, background .25s; }
.floating-wa:hover { transform: translateY(-5px); background: #207541; }
.floating-wa svg { width: 34px; height: 34px; }

/* Scroll animation, only enabled by JS */
.js-enhanced .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .85s var(--ease); }
.js-enhanced .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive adaptations */
@media (max-width: 1100px) {
  .header-inner { gap: 17px; min-height: 79px; }
  .brand-symbol { width: 45px; height: 45px; }
  .brand-name { font-size: 29px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 11px; }
  .header-cta { padding: 13px 14px; }
  .story-heading { grid-template-columns: 1fr .5fr; gap: 35px; }
  .process-layout { gap: 45px; }
  .process-visual { height: 700px; }
  .letter-layout { grid-template-columns: 28px 1fr .62fr; gap: 30px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 79px; }
  .container { width: min(100% - 44px, 740px); }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header { position: sticky; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); box-shadow: 0 15px 20px #0001; padding: 20px max(22px, calc((100% - 740px)/2)) 35px; display: flex; flex-direction: column; gap: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .mobile-nav a { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 19px 0; font: 400 27px var(--serif); }
  .mobile-nav a span { font: 700 10px var(--sans); color: var(--muted); }
  .hero { min-height: 730px; }
  .hero-content { min-height: 620px; }
  .hero h1 { font-size: clamp(56px, 9vw, 94px); }
  .hero-roundel { top: auto; bottom: 7%; right: 0; height: 110px; width: 110px; font-size: 8px; }
  .hero-roundel svg { height: 21px; }
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .intro-photos { height: 440px; }
  .intro-stamp { width: 87px; height: 87px; font-size: 7px; }
  .intro-stamp strong { font-size: 20px; }
  .story-heading { grid-template-columns: 1fr; gap: 20px; }
  .story-heading-note { max-width: 560px; }
  .process-layout { grid-template-columns: 1fr; }
  .process-visual { position: relative; top: auto; height: 540px; width: min(100%,650px); margin-inline: auto; }
  .process-image-main { height: 87%; width: 80%; }
  .process-image-overlay { height: 50%; width: 46%; }
  .process-photo-note { left: 4%; bottom: 0; }
  .process-list { width: 100%; }
  .portfolio-heading { grid-template-columns: 1fr .6fr; }
  .coffee-grid { gap: 12px; }
  .coffee-info { padding: 23px; }
  .coffee-info h3 { font-size: clamp(34px, 4.5vw, 53px); }
  .coffee-info > p { min-height: 220px; }
  .coffee-image { height: 280px; }
  .letter-layout { grid-template-columns: 1fr .7fr; }
  .letter-ornament { display: none; }
  .letter-content .display-title { font-size: clamp(39px, 5.8vw, 63px); }
  .letter-photo { height: 540px; }
  .contact-layout { gap: 40px; }
  .contact-photo { height: 480px; }
  .footer-grid { gap: 45px; grid-template-columns: 1.4fr .85fr .9fr; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 38px); }
  .section-space { padding-block: 76px; }
  .topline { font-size: 8px; letter-spacing: .09em; min-height: 29px; gap: 9px; }
  .topline .topline-deco { display: none; }
  .header-inner { min-height: 75px; }
  .brand-symbol { width: 46px; height: 46px; }
  .brand-name { font-size: 30px; }
  .brand-sub { font-size: 8px; letter-spacing: .27em; }
  .hero { min-height: 720px; min-height: min(780px, calc(100svh - 100px)); }
  .hero-picture img { object-position: 54% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(21,33,25,.91),rgba(21,33,25,.6) 78%),linear-gradient(0deg,#1a3024bc,transparent 35%); }
  .hero-content { min-height: 590px; padding-top: 84px; padding-bottom: 30px; align-items: flex-start; }
  .hero h1 { font-size: clamp(54px, 12vw, 76px); letter-spacing: -.063em; }
  .hero-intro { max-width: 475px; font-size: 15px; line-height: 1.8; }
  .hero-roundel { display: none; }
  .hero-actions { align-items: flex-start; gap: 20px; }
  .hero .btn { padding: 16px 20px; }
  .hero-bottom { padding-bottom: 18px; gap: 20px; }
  .hero-bottom a { font-size: 0; }
  .hero-bottom > span { font-size: 10px; }
  .ribbon { height: 45px; }
  .ribbon-track { font-size: 9px; gap: 26px; }
  .intro-grid { grid-template-columns: 1fr; }
  .display-title { font-size: clamp(40px, 9.5vw, 59px); }
  .intro-copy .display-title { font-size: clamp(40px, 9.3vw, 62px); }
  .signature-mark { margin-top: 38px; }
  .intro-photos { margin-top: 22px; height: min(110vw, 510px); }
  .intro-photo-main { width: 90%; }
  .story-heading { margin-bottom: 40px; }
  .story-heading-note { font-size: 20px; }
  .story-columns { grid-template-columns: 1fr; gap: 24px; padding-block: 34px; }
  .story-column p { font-size: 14px; line-height: 1.9; margin-bottom: 17px; }
  .story-column p:last-child { margin-bottom: 17px; }
  .story-timeline { grid-template-columns: repeat(2,1fr); gap: 25px 20px; padding-top: 35px; }
  .story-timeline > div::before { top: -42px; }
  .story-timeline > div:nth-child(n+3)::before { display: none; }
  .story-timeline strong { font-size: 37px; }
  .story-timeline span { font-size: 10px; }
  .family-gallery { padding-block: 76px 84px; }
  .family-photo-heading { margin-bottom: 28px; }
  .family-photo-grid { grid-template-columns: 1fr; gap: 17px; }
  .family-photo { height: min(114vw, 590px); }
  .family-photo-bottom { font-size: 15px; }
  .family-photo-bottom span:last-child { font-size: 14px; letter-spacing: 4px; }
  .process-intro { margin-bottom: 40px; }
  .process-intro > p:last-child { font-size: 15px; }
  .process-layout { gap: 28px; }
  .process-visual { height: min(120vw, 530px); }
  .process-image-overlay { border-width: 6px; }
  .process-step { grid-template-columns: 47px 1fr; gap: 12px; padding: 26px 0; }
  .step-number { font-size: 27px; }
  .process-step h3 { font-size: 26px; }
  .process-step p { font-size: 13px; }
  .portfolio-section { padding-block: 70px 35px; }
  .portfolio-heading { grid-template-columns: 1fr; gap: 22px; padding-bottom: 32px; }
  .portfolio-heading .display-title { font-size: 52px; }
  .portfolio-intro p { margin-bottom: 13px; }
  .portfolio-card { width: 245px; height: 310px; }
  .portfolio-card figcaption { font-size: 19px; padding: 18px; }
  .portfolio-end { font-size: 8px; }
  .coffee-heading { flex-direction: column; align-items: start; gap: 15px; margin-bottom: 30px; }
  .coffee-heading > p { max-width: 520px; margin: 0; }
  .coffee-grid { grid-template-columns: 1fr; gap: 25px; }
  .coffee-image { height: min(85vw, 460px); }
  .coffee-info { padding: 29px; }
  .coffee-info h3 { font-size: 56px; }
  .coffee-info > p { min-height: 0; }
  .coffee-note { font-size: 19px; line-height: 1.65; }
  .letter-layout { padding-block: 78px 95px; grid-template-columns: 1fr; gap: 30px; }
  .letter-content .display-title { font-size: clamp(40px, 9vw, 60px); }
  .letter-content > p:not(.eyebrow) { font-size: 14px; }
  .letter-signature strong { font-size: 30px; }
  .letter-photo { height: min(100vw, 530px); width: min(100%, 530px); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-photo { height: min(96vw, 530px); }
  .contact-copy { text-align: center; }
  .contact-copy .eyebrow { justify-content: center; }
  .contact-copy > p:not(.eyebrow):not(.contact-number) { margin-inline: auto; }
  .contact-sun { display: none; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-top p { max-width: 290px; line-height: 1.8; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px 35px; padding-block: 66px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about > p { max-width: 460px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 13px; }
  .floating-wa { right: 18px; bottom: 18px; height: 54px; width: 54px; }
  .floating-wa svg { width: 30px; height: 30px; }
}
@media (max-width: 390px) {
  .topline { font-size: 7px; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: 51px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .brand-name { font-size: 26px; }
  .brand-symbol { width: 39px; height: 39px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-enhanced .reveal { opacity: 1 !important; transform: none !important; }
  .portfolio-track { animation: none !important; }
  .portfolio-window { overflow-x: auto; scrollbar-width: thin; }
}
