:root {
  --green-950: #03130f;
  --green-900: #061f17;
  --green-800: #0a2d22;
  --green-700: #104837;
  --ink: #181818;
  --ivory: #fff7e8;
  --paper: #fffdf8;
  --sun: #ffd35a;
  --orange: #f28a2e;
  --gold: #765000;
  --muted: #69675f;
  --line: rgba(6, 31, 23, .15);
  --line-dark: rgba(255, 247, 232, .18);
  --shadow: 0 20px 54px rgba(6, 31, 23, .12);
  --font: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  background: var(--green-900);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--green-900);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, ul, ol, dl { margin-top: 0; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #8f3f00;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--green-900);
  background: var(--sun);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.public-beta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 18px;
  color: var(--green-900);
  background: var(--sun);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.public-beta span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(242, 138, 46, .18);
}

.site-header {
  display: flex;
  position: relative;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 18px clamp(20px, 5vw, 76px);
  color: var(--ivory);
  background: var(--green-900);
  border-bottom: 1px solid var(--line-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
}

.brand img { width: 154px; height: auto; }

.brand span {
  padding-left: 18px;
  color: rgba(255, 247, 232, .78);
  border-left: 1px solid var(--line-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-header nav a {
  position: relative;
  min-height: 44px;
  padding: 12px 0;
  color: rgba(255, 247, 232, .82);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a[aria-current]::after { transform: scaleX(1); }

.hero, .work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  min-height: 690px;
  padding: clamp(64px, 8vw, 118px) clamp(20px, 6vw, 92px);
  color: var(--ivory);
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 211, 90, .14), transparent 28%),
    linear-gradient(135deg, var(--green-950), var(--green-900) 52%, var(--green-800));
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero .eyebrow, .work-hero .eyebrow, .section-heading-light .eyebrow,
.work-preview .eyebrow, .work-principle > p, .work-ethics .eyebrow, .work-close .eyebrow {
  color: var(--sun);
}

h1, h2, h3 {
  margin-bottom: 18px;
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.02;
}

h1 { max-width: 12ch; font-size: clamp(44px, 6.1vw, 92px); }
h2 { max-width: 19ch; font-size: clamp(34px, 4.2vw, 62px); }
h3 { font-size: clamp(22px, 2vw, 31px); }
h1 em { color: var(--sun); font-style: normal; }

.lead {
  max-width: 61ch;
  margin-bottom: 30px;
  color: rgba(255, 247, 232, .78);
  font-size: clamp(17px, 1.45vw, 21px);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-sun { color: var(--green-900); background: var(--sun); }
.button-sun:hover { background: #ffe083; }
.button-ghost { color: var(--ivory); background: transparent; border-color: rgba(255, 247, 232, .35); }
.button-ghost:hover { background: rgba(255, 247, 232, .08); }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(255, 247, 232, .72);
  font-size: 13px;
  list-style: none;
}

.trust-list li::before { content: "●"; margin-right: 8px; color: var(--sun); font-size: 9px; }

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 232, .2);
  border-radius: 32px;
  background: var(--green-800);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 19, 15, .9));
  pointer-events: none;
}

.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero-visual figcaption {
  display: flex;
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual figcaption span {
  padding: 7px 11px;
  color: var(--green-900);
  background: var(--sun);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-visual figcaption small {
  flex-basis: 100%;
  color: rgba(255, 247, 232, .72);
  font-size: 11px;
}

.route-choice, .portfolio, .work-model {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 92px);
  background: var(--paper);
}

.section-heading { margin-bottom: 40px; }

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.section-heading-row > p {
  max-width: 42ch;
  margin-bottom: 12px;
  color: var(--muted);
}

.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.route-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  min-height: 350px;
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.route-card-home { background: linear-gradient(145deg, #fff, #f5ecda); }
.route-card-work { color: var(--ivory); background: linear-gradient(145deg, var(--green-800), var(--green-900)); }
.route-card-work .eyebrow { color: var(--sun); }
.route-card-work p:not(.eyebrow) { color: rgba(255, 247, 232, .72); }

.route-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green-900);
  background: var(--sun);
  border-radius: 50%;
  font-weight: 850;
}

.route-card > div { align-self: end; }
.route-card h3 { max-width: 14ch; font-size: clamp(30px, 3vw, 45px); }
.route-card p:not(.eyebrow) { max-width: 50ch; color: var(--muted); }
.route-card a, .project-card a { display: inline-flex; min-height: 44px; align-items: center; color: var(--green-700); font-weight: 850; }
.route-card-work a { color: var(--sun); }

.method {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 92px);
  color: var(--ivory);
  background: var(--green-900);
}

.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.method-grid article {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: rgba(255, 247, 232, .04);
}

.method-grid span, .capability-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  color: var(--green-900);
  background: var(--sun);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.method-grid p { color: rgba(255, 247, 232, .7); }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.project-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(6, 31, 23, .06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-card img { width: 100%; aspect-ratio: 4 / 2.7; object-fit: cover; background: #e8e2d6; }
.project-card div { padding: 22px; }
.project-card p { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.project-card h3 { min-height: 2.05em; margin-bottom: 12px; font-size: 24px; }
.project-card a { font-size: 14px; }
.project-card a::after { content: "→"; margin-left: 8px; }

.work-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 92px);
  color: var(--ivory);
  background: linear-gradient(140deg, var(--green-800), var(--green-950));
}

.work-preview > div > p:not(.eyebrow) { max-width: 62ch; color: rgba(255, 247, 232, .72); }
.work-preview ul { margin: 0; padding: 0; list-style: none; }
.work-preview li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.work-preview li span { grid-row: span 2; color: var(--sun); font-weight: 850; }
.work-preview li small { color: rgba(255, 247, 232, .6); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px clamp(20px, 6vw, 92px);
  color: rgba(255, 247, 232, .72);
  background: var(--green-950);
  border-top: 1px solid var(--line-dark);
}

.site-footer img { width: 136px; height: auto; margin-bottom: 8px; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer a { min-height: 44px; padding: 10px 0; color: var(--ivory); font-size: 13px; font-weight: 750; }

/* Auralia Trabajo */
.work-page { background: var(--paper); }
.work-hero { min-height: 650px; }
.work-disclosure { max-width: 62ch; margin: 26px 0 0; padding: 16px 18px; color: rgba(255, 247, 232, .74); background: rgba(255, 247, 232, .06); border: 1px solid var(--line-dark); border-radius: 14px; font-size: 13px; }
.work-disclosure strong { color: var(--sun); }

.work-principle {
  display: grid;
  grid-template-columns: .6fr 1.35fr .85fr;
  gap: 36px;
  align-items: start;
  padding: clamp(56px, 7vw, 90px) clamp(20px, 6vw, 92px);
  color: var(--ivory);
  background: var(--green-800);
}

.work-principle > p { font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.work-principle h2 { margin: 0; }
.work-principle ul { margin: 0; padding: 0; color: rgba(255, 247, 232, .75); list-style: none; }
.work-principle li { padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.work-principle li::before { content: "✓"; margin-right: 10px; color: var(--sun); font-weight: 900; }

.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.capability-grid article { min-height: 250px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.capability-grid article:nth-child(2), .capability-grid article:nth-child(8) { color: var(--ivory); background: var(--green-900); }
.capability-grid article:nth-child(2) p, .capability-grid article:nth-child(8) p { color: rgba(255, 247, 232, .68); }
.capability-grid h3 { margin-bottom: 12px; font-size: 24px; }
.capability-grid p { color: var(--muted); font-size: 14px; }

.visual-story {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 92px);
  background: #f5ecda;
}

.visual-story-reverse { background: var(--paper); }
.visual-story-reverse figure { order: 2; }
.visual-story figure { margin: 0; overflow: hidden; background: var(--green-900); border-radius: 28px; box-shadow: var(--shadow); }
.visual-story figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visual-story-reverse figure img { aspect-ratio: 4 / 4.6; }
.visual-story figcaption { padding: 14px 18px; color: rgba(255, 247, 232, .7); font-size: 11px; }
.visual-story > div > p:not(.eyebrow) { max-width: 58ch; color: var(--muted); font-size: 18px; }
.visual-story dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.visual-story dl div { padding: 16px; background: rgba(255, 255, 255, .62); border: 1px solid var(--line); border-radius: 14px; }
.visual-story dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.visual-story dd { margin: 5px 0 0; font-weight: 800; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 750; }
.check-list li::before { content: "✓"; margin-right: 9px; color: var(--green-700); }

.work-ethics {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 92px);
  color: var(--ivory);
  background: var(--green-900);
}

.work-ethics ol { margin: 0; padding: 0; list-style: none; }
.work-ethics li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.work-ethics li span { color: var(--sun); font-weight: 850; }
.work-ethics li p { margin: 0; color: rgba(255, 247, 232, .72); }
.work-ethics li strong { color: var(--ivory); }

.work-close { padding: clamp(80px, 11vw, 150px) clamp(20px, 13vw, 190px); text-align: center; background: var(--sun); }
.work-close .eyebrow { color: #765000; }
.work-close h2, .work-close p { margin-right: auto; margin-left: auto; }
.work-close h2 { max-width: 23ch; }
.work-close p { max-width: 68ch; }
.work-close .button-sun { color: var(--ivory); background: var(--green-900); }

@media (max-width: 1080px) {
  .hero, .work-hero { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; min-height: auto; padding: 16px 20px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 8px; }
  .hero, .work-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 66px; }
  .hero-visual { max-width: 680px; }
  .route-grid, .method-grid, .work-preview, .work-principle, .visual-story, .work-ethics { grid-template-columns: 1fr; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 10px; }
  .method-grid article { min-height: 180px; }
  .work-preview ul { margin-top: 12px; }
  .visual-story-reverse figure { order: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .public-beta { min-height: 42px; font-size: 10px; line-height: 1.3; }
  .brand { width: 100%; justify-content: space-between; }
  .brand img { width: 132px; }
  .brand span { font-size: 10px; }
  .site-header nav a { font-size: 12px; }
  .hero, .work-hero, .route-choice, .portfolio, .work-model, .method, .work-preview, .work-principle, .visual-story, .work-ethics { padding-right: 20px; padding-left: 20px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: clamp(32px, 9.5vw, 45px); }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { border-radius: 22px; }
  .hero-visual figcaption { right: 14px; bottom: 14px; left: 14px; }
  .route-card { grid-template-columns: 1fr; min-height: 330px; }
  .project-grid, .capability-grid, .visual-story dl, .check-list { grid-template-columns: 1fr; }
  .project-card h3 { min-height: 0; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
