/* augustvee.com home: parts added to Style 1 (cc.css) + the friendly layer (friendly.css).
   Mobile first, same tokens and breakpoints (640 / 768 / 960). Fewer stacked lists: tabs, chips,
   a three-across row and one short closing (owner, 30 Nov 2026). */


/* buttons */
.btn--ghost-light { background: rgba(11, 11, 11, 0.25); color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost-light:hover { background: var(--white); color: var(--onyx); border-color: var(--white); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* 1 · hero: the photo fills the screen (friendly.css); his face stays in the upper half */
.hero--home .hero-bg img { object-position: 43% 30%; }
.hero--home .hero-buy { margin-top: 28px; }


/* 2 · about: one big portrait with the childhood photo pinned on it */
.about { display: grid; gap: 40px 72px; align-items: center; }
.about-pics { position: relative; margin: 0; padding-bottom: 28px; }
.about-big { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-small { position: absolute; left: -4px; bottom: 0; width: 38%; aspect-ratio: 4/5; object-fit: cover; border: 5px solid var(--white); rotate: -4deg; box-shadow: 0 12px 30px rgba(11, 11, 11, 0.18); }
.about-pics figcaption { position: absolute; right: 14px; top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--onyx); font: 600 var(--t-caption)/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.prose { margin-top: 24px; max-width: 36em; }
.prose p { font: 400 var(--t-body)/1.8 var(--thai); }
.prose p + p { margin-top: 12px; }
.chips-lead { margin-top: 28px; font: 700 var(--t-small)/1.5 var(--thai); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--ivory); font: 400 var(--t-small)/1.3 var(--thai); }
@media (min-width: 640px) { .about-pics { max-width: 520px; } }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .about-pics { max-width: none; } }

/* 3 · services, premium: dark chapter, gold tabs, each path a full-bleed photo card.
   Phones: the photo fills the top of the card and fades into onyx where the words start.
   From 768 px: the photo fills the whole card and the words sit bottom left over a shade. */
.svc-sec { position: relative; }
.tabs { display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 36px auto 0; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.tabs[hidden] { display: none; }
.tabs button { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 600 var(--t-small)/1 var(--thai); color: var(--silver); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.tabs button:hover { color: var(--white); }
.tabs button[aria-selected='true'] { background: var(--gold); color: var(--onyx); }
.panel { position: relative; isolation: isolate; overflow: clip; max-width: 1200px; margin: 28px auto 0; border-radius: 28px; background: var(--onyx); border: 1px solid var(--line-dark); }
.panel + .panel { margin-top: 20px; }
.tabs:not([hidden]) ~ .panel { margin-top: 28px; }
.panel[hidden] { display: none; }
.panel-bg { position: absolute; inset: 0 0 auto; height: 340px; z-index: -1; }
.panel-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.panel--edit .panel-bg img { object-position: 30% 30%; }
.panel-bg::after { content: ''; position: absolute; inset: 0; background: rgba(11, 11, 11, 0.12); box-shadow: inset 0 -190px 110px -50px var(--onyx); }
.panel-body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 230px 22px 30px; }
.panel-logo { width: 128px; height: auto; }
.panel-body h3 { font: 700 clamp(26px, calc(18px + 1.8vw), 44px)/1.25 var(--thai); color: var(--white); }
.panel-body > p { font: 400 var(--t-body)/1.75 var(--thai); color: var(--silver); max-width: 34em; }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.covers a { display: flex; flex-direction: column; gap: 4px; }
.covers img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 8px; border: 1px solid var(--line-dark); transition: transform 0.5s var(--ease); }
.covers a:hover img { transform: translateY(-4px); }
.covers b { font: 600 var(--t-body)/1.3 var(--sans); color: var(--white); }
.covers span { font: 400 var(--t-caption)/1.5 var(--thai); color: var(--muted-dark); }
.points { display: grid; gap: 10px; width: 100%; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; gap: 10px 24px; } }
.points li { position: relative; padding-left: 22px; font: 400 var(--t-small)/1.55 var(--thai); color: var(--ivory); }
.points li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 12px; height: 2px; border-radius: 2px; background: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); font: 400 var(--t-caption)/1.4 var(--thai); color: var(--silver); }
@media (min-width: 768px) {
  .panel { min-height: 720px; display: flex; align-items: flex-end; }
  .panel-bg { inset: 0; height: auto; }
  .panel-bg img { object-position: 50% 35%; }
  .panel-bg::after { background: rgba(11, 11, 11, 0.16); box-shadow: inset 860px 0 380px -260px rgba(11, 11, 11, 0.93), inset 0 -300px 200px -120px rgba(11, 11, 11, 0.85); }
  .panel-body { max-width: 620px; padding: 140px 48px 48px; }
  .panel-logo { width: 160px; }
}
@media (min-width: 1100px) { .panel { min-height: 760px; } }
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) .panel-bg img { animation: panel-zoom 1.6s var(--ease) both; }
  .panel:not([hidden]) .panel-body > * { animation: fade 1s cubic-bezier(0.33, 0, 0.2, 1) both; }
  .panel:not([hidden]) .panel-body > :nth-child(2) { animation-delay: 0.06s; }
  .panel:not([hidden]) .panel-body > :nth-child(3) { animation-delay: 0.12s; }
  .panel:not([hidden]) .panel-body > :nth-child(4) { animation-delay: 0.18s; }
  .panel:not([hidden]) .panel-body > :nth-child(5) { animation-delay: 0.24s; }
  .panel:not([hidden]) .panel-body > :nth-child(6) { animation-delay: 0.3s; }
}
@keyframes panel-zoom { from { scale: 1.12; } to { scale: 1; } }

/* 4 · socials: three across on every screen */
.socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 1040px; margin: 40px auto 0; }
.socials a { display: flex; flex-direction: column; }
.socials img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; margin-bottom: 10px; transition: transform 0.6s var(--ease); }
.socials a:hover img { transform: translateY(-6px); }
.socials .s-name { font: 500 var(--t-caption)/1.4 var(--sans); color: var(--graphite); }
.socials b { font: 500 var(--t-h3)/1.2 var(--sans); }
.socials b + span { font: 400 var(--t-caption)/1.4 var(--thai); color: var(--graphite); }
@media (min-width: 768px) { .socials { gap: 24px; } .socials b { font-size: var(--t-figure); } }

/* 5 · speaking: the stage photo as a full-width band, words over its foot */
.band { position: relative; isolation: isolate; overflow: clip; min-height: 86svh; display: flex; align-items: flex-end; padding: 120px 0 56px; }
.band-bg { position: absolute; inset: 0; z-index: -1; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(11, 11, 11, 0.2); box-shadow: inset 0 -380px 240px -120px rgba(11, 11, 11, 0.94); }
.band-in { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.band .sub { margin-top: 0; color: var(--silver); max-width: 32em; }
.band-fit { font: 400 var(--t-small)/1.6 var(--thai); color: var(--muted-dark); }
.band .btn { margin-top: 8px; }
@media (min-width: 768px) {
  .band { min-height: 92svh; padding-bottom: 80px; }
  .band-bg::after { box-shadow: inset 760px 0 360px -300px rgba(11, 11, 11, 0.8), inset 0 -300px 220px -120px rgba(11, 11, 11, 0.9); }
}

/* 6 · closing and contact */
.close-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.close .acts { justify-content: center; margin-top: 28px; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font: 400 var(--t-small)/1 var(--sans); transition: background 0.24s var(--ease), color 0.24s var(--ease); }
.contact a:hover { background: var(--onyx); color: var(--white); border-color: var(--onyx); }
.foot-in { justify-content: space-between; }
.foot p { width: auto; }

/* hero branding: the name is the headline, the promise sits under it (sizes set in .hero--brand) */
.brand { color: var(--white); }
.hero-tag { font: 700 clamp(26px, calc(20px + 1.6vw), 44px)/1.3 var(--thai); color: var(--white); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* hero, branding only: the name and the promise, centred low over the photo. No buttons, no numbers. */
.hero--brand { justify-content: flex-end; text-align: center; padding-bottom: 13svh; }
.hero--brand .hero-in { display: flex; flex-direction: column; align-items: center; }
.hero--brand .brand { font-size: clamp(72px, 21vw, 240px); margin: 0; }
.brand-ch { display: inline-block; padding: 0 0.1em 0.08em; }
.brand-ch .ch { display: inline-block; }
.brand-ch .sp { width: 0.22em; }
.hero--brand .hero-tag { display: flex; flex-direction: column; align-items: center; margin-top: 22px; font-family: var(--display-th); font-style: italic; font-weight: 300; }
.hero-tag .t1 { font-size: clamp(22px, calc(14px + 2vw), 40px); line-height: 1.3; color: #ececee; letter-spacing: 0; }
.hero-tag .t2 { font-size: clamp(50px, calc(28px + 6vw), 120px); font-weight: 200; line-height: 1.12; margin-top: 4px; padding: 0 0.12em; white-space: nowrap; }
/* the quotation marks in the wordmark's serif, so the promise reads as his own words */
.hero-tag .q { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-style: italic; font-weight: 500; font-size: 1.05em; line-height: 0; padding: 0 0.04em; }
/* a dark veil for the words: deep at the foot, lighter over the face */
.hero--brand .hero-bg::after { background: rgba(11, 11, 11, 0.22); box-shadow: inset 0 -52svh 30svh -14svh rgba(11, 11, 11, 0.9), inset 0 120px 90px -80px rgba(11, 11, 11, 0.6); }
.hero--brand .hero-bg img { object-position: 43% 26%; }
@media (min-width: 768px) {
  .hero--brand { padding-bottom: 11svh; }
  .hero--brand .hero-bg::after { box-shadow: inset 0 -50svh 30svh -14svh rgba(11, 11, 11, 0.88), inset 0 120px 90px -80px rgba(11, 11, 11, 0.6); }
}
/* the opening, about 3 s: the photo wakes from dark and settles, the name rises letter by letter out
   of a blur, a beat, then «ถ้าผมทำได้», then «คุณก็ทำได้» in gold. Reduced motion shows it finished. */
@media (prefers-reduced-motion: no-preference) {
  .hero--brand .hero-bg::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--onyx); animation: wake 2.4s cubic-bezier(0.65, 0, 0.35, 1) both; pointer-events: none; }
  .hero--brand .hero-bg img { animation: zoomout 3.2s var(--ease) both, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100svh; }
  .brand-ch .ch { animation: letter 1.4s cubic-bezier(0.33, 0, 0.2, 1) both; animation-delay: calc(0.5s + var(--i) * 70ms); }
  .hero-tag .t1 { animation: fade 1.4s cubic-bezier(0.33, 0, 0.2, 1) 1.45s both; }
  .hero-tag .t2 { animation: glow 1.8s cubic-bezier(0.33, 0, 0.2, 1) 1.95s both; }
}
@supports not (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) { .hero--brand .hero-bg img { animation: zoomout 3.2s var(--ease) both; } }
}
@keyframes wake { from { opacity: 1; } to { opacity: 0; } }
@keyframes zoomout { from { scale: 1.18; } to { scale: 1; } }
@keyframes letter { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow { 0% { opacity: 0; text-shadow: 0 0 0 rgba(201, 169, 97, 0); } 60% { opacity: 1; text-shadow: 0 0 30px rgba(201, 169, 97, 0.55); } 100% { opacity: 1; text-shadow: 0 0 0 rgba(201, 169, 97, 0); } }

/* 2 · impact: four big numbers that count up once they arrive; the heading in the hero's Thai display face */
.h2--display { font-family: var(--display-th); font-style: italic; font-weight: 600; font-size: clamp(40px, calc(24px + 4vw), 80px); line-height: 1.2; }
.impact { padding: var(--sec-y) 0 calc(var(--sec-y) + 8px); }
.big-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; max-width: 1120px; margin: 48px auto 0; text-align: center; }
.big-figs b { display: block; font: 500 clamp(48px, calc(30px + 5vw), 104px)/1 var(--sans); letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.big-figs li:first-child b { color: var(--gold); }
.big-figs span { display: block; margin-top: 10px; font: 400 var(--t-small)/1.5 var(--thai); color: var(--muted-dark); }
@media (min-width: 768px) { .big-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
