/* English site layout fixes — provides missing layout from home-immersive.css
   and overrides aesthetic-refactor.css rules that don't work for English text. */

/* === Hero section === */
.hero {
  min-height: 620px;
  isolation: isolate;
}

.hero h1 .hero-hall-link {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed;
}

.hero h1 {
  display: block !important;
  font-size: clamp(48px, 5.7vw, 82px) !important;
  line-height: 1.15;
  text-shadow: 0 2px 0 rgba(255,255,255,.65);
}

.hero-hall-link {
  position: relative;
  display: inline-block;
  transition: color .25s ease, transform .25s ease;
}

.hero-hall-link:after {
  content: '\2197';
  position: absolute;
  right: -.8em;
  bottom: .16em;
  font: 14px var(--sans);
  color: var(--red);
  opacity: 0;
  transform: translate(-5px,5px);
  transition: opacity .25s ease, transform .25s ease;
}

.hero-hall-link:hover,
.hero-hall-link:focus-visible {
  color: var(--red);
  transform: translateX(5px);
}

.hero-hall-link:hover:after,
.hero-hall-link:focus-visible:after {
  opacity: 1;
  transform: translate(0);
}

/* === Hero gallery portal — style the raw image === */
.hero-gallery-portal {
  height: clamp(480px, 56vw, 600px) !important;
  border: 8px solid rgba(239,235,218,.72) !important;
  box-shadow: 0 24px 58px rgba(35,47,38,.22), inset 0 0 0 1px rgba(80,69,45,.2) !important;
  overflow: hidden !important;
  position: relative;
}

.hero-gallery-portal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.9) contrast(1.02);
  transition: transform .8s cubic-bezier(.2,.72,.16,1), filter .45s ease;
}

.hero-gallery-portal:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.04);
}

/* === Works section === */
.works-section {
  padding-top: 100px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(238,234,223,0) 0%, rgba(224,230,220,.45) 100%);
}

.works-section .section-heading {
  margin-bottom: 44px;
}

.works-section .section-heading h2 {
  font-size: clamp(36px, 4.5vw, 56px) !important;
  letter-spacing: .08em;
}

.arrow-link {
  border-bottom-color: var(--red);
  padding-bottom: 9px;
}

.hero-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  letter-spacing: .04em;
}

/* === Statement section === */
.statement {
  margin: 80px 0 0;
  padding: 90px 8%;
  background: linear-gradient(135deg, #2d4034, #526454);
  box-shadow: 0 18px 45px rgba(39,53,42,.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.statement-content {
  max-width: 680px;
  text-align: center;
  color: #f0ecdf;
}

.statement-content .eyebrow {
  color: #e9c985;
  margin-bottom: 28px;
}

.statement-content blockquote {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
  letter-spacing: .04em;
}

.statement-content blockquote em {
  color: #fff;
}

.statement-content .text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 36px;
  color: #e9c985;
  border-color: #e9c985;
  padding-bottom: 8px;
}

/* === Contact section === */
.contact-section {
  margin-top: 80px;
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 88% 20%, rgba(228,196,124,.2), transparent 28%), linear-gradient(125deg, #263c30, #3e5848 60%, #60725e);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-section > div {
  position: relative;
  z-index: 1;
}

.contact-section .eyebrow {
  color: #e9c985;
  margin-bottom: 22px;
}

.contact-section h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .06em;
  margin: 0;
}

.contact-section h2 em {
  color: #e9c985;
}

.contact-details {
  max-width: 420px;
}

.contact-details p {
  color: rgba(240,236,223,.82);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e9c985 !important;
  font: 17px var(--sans);
  border-bottom: 1px solid #e9c985;
  padding-bottom: 8px;
  margin: 0;
}

/* === Footer === */
.site-footer {
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font: 9px var(--sans);
  letter-spacing: .1em;
}

/* === Page intro (for subpages) === */
.page-intro {
  padding: 100px 0 60px;
  text-align: center;
}

.page-intro h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .06em;
  margin: 18px 0 24px;
}

.page-intro h1 em {
  color: var(--red);
}

.page-intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  max-width: 620px;
  margin: 0 auto;
}

/* === Hall portal grid (works.html) === */
.hall-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 20px 0 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hall-portal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102,85,57,.15);
  background: rgba(244,241,233,.5);
  transition: all .4s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.hall-portal-card:hover {
  border-color: rgba(160,68,43,.4);
  box-shadow: 0 16px 40px rgba(36,39,34,.14);
  transform: translateY(-4px);
}

.hall-portal-card-img {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #ddd8ca;
}

.hall-portal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .8s ease, filter .4s ease;
}

.hall-portal-card:hover .hall-portal-card-img img {
  transform: scale(1.06);
  filter: saturate(1);
}

.hall-portal-card-img:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,23,19,.4));
  pointer-events: none;
}

.hall-portal-card-body {
  padding: 28px 32px;
}

.hall-portal-card-body .eyebrow {
  color: var(--red);
  font: 600 10px var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hall-portal-card-body h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 12px;
}

.hall-portal-card-body p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: .03em;
  margin: 0 0 16px;
}

.hall-portal-enter {
  font-size: 13px;
  color: var(--red);
  letter-spacing: .1em;
  border-bottom: 1px solid var(--red);
  padding-bottom: 6px;
  display: inline-block;
}

/* === Bio feature (artist.html) === */
.bio-feature {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 80px 8%;
  background: #f6f3eb;
}

.bio-seal {
  flex-shrink: 0;
  width: 58px;
  height: 78px;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 25px;
  line-height: 1.05;
  text-align: center;
  padding-top: 7px;
}

.bio-feature h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 20px;
  letter-spacing: .06em;
}

.bio-feature p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin: 0 0 16px;
}

/* === Timeline section === */
.timeline-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(238,234,223,.45), transparent);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-item {
  background: rgba(250,248,241,.55);
  border: 1px solid rgba(108,99,76,.22);
  padding: 28px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(51,62,48,.12);
}

.timeline-item b {
  display: block;
  font-size: 22px;
  color: var(--red);
  margin-bottom: 10px;
  letter-spacing: .06em;
}

.timeline-item span {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* === Contact page details === */
.contact-page-details {
  padding: 60px 8% 80px;
  text-align: center;
}

.contact-page-details .eyebrow {
  color: var(--red);
  margin-bottom: 22px;
}

.contact-page-details h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: .06em;
}

.contact-page-details p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin: 0 0 20px;
}

/* === Responsive === */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 28% 72% !important;
    gap: 24px !important;
  }
  .hero-gallery-portal {
    height: 480px !important;
  }
}

@media (max-width: 760px) {
  .hero {
    display: block !important;
    min-height: auto !important;
    padding: 50px 0 40px !important;
  }

  .hero-copy {
    padding-bottom: 36px !important;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 56px) !important;
  }

  .hero-gallery-portal {
    height: 380px !important;
    border-width: 5px !important;
  }

  .works-section {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .statement {
    margin-top: 0;
    padding: 60px 6%;
  }

  .statement-content blockquote {
    font-size: 22px;
  }

  .contact-section {
    margin-top: 0;
    padding: 60px 6%;
    flex-direction: column;
    text-align: center;
  }

  .hall-portal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hall-portal-card-img {
    height: 200px;
  }

  .hall-portal-card-body {
    padding: 20px 22px;
  }

  .hall-portal-card-body h2 {
    font-size: 22px;
  }

  .bio-feature {
    flex-direction: column;
    gap: 30px;
    padding: 50px 6%;
    text-align: center;
  }

  .timeline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    height: auto;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
  }
}
