// content.jsx — bilingual copy + structural data

// Carefully curated Unsplash photos (subtropical island, deep nature, refined interiors)
const IMG = {
  hero: 'https://images.unsplash.com/photo-1505228395891-9a51e7e86bf6?auto=format&fit=crop&w=2400&q=80',
  concept: 'assets/sunset-ocean.webp',
  suite1: 'https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=1400&q=80',
  suite2: 'https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=1400&q=80',
  suite3: 'https://images.unsplash.com/photo-1540541338287-41700207dee6?auto=format&fit=crop&w=1400&q=80',
  dining: 'https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80',
  whale: 'https://images.unsplash.com/photo-1518877593221-1f28583780b4?auto=format&fit=crop&w=1800&q=80',
  diving: 'assets/underwater-sunrays.webp',
  forest: 'https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1400&q=80',
  stars:  'https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?auto=format&fit=crop&w=1400&q=80',
  kayak:  'assets/sunset-gopro.webp',
  trail:  'https://images.unsplash.com/photo-1473773508845-188df298d2d1?auto=format&fit=crop&w=1400&q=80',
};

// Hero slideshow — five chapters of a single day on Chichijima
const HERO_SLIDES = [
  { src: 'assets/hero-bay.webp',          kickerJa: '父島 · 二見湾',         kickerEn: 'Futami Bay, Chichijima',  tag: '27°04ʹN  142°12ʹE',  tone: 'bright',  caption: 'I' },
  { src: 'uploads/islands-view.webp',     kickerJa: '太平洋 · 父島列島',     kickerEn: 'The Bonin Archipelago',   tag: 'PACIFIC HORIZON',     tone: 'bright',  caption: 'II' },
  { src: 'uploads/coral-staghorn.webp',   kickerJa: '海中 · 固有のサンゴ礁', kickerEn: 'Endemic Reef',            tag: '−12 m  ·  BONIN BLUE',tone: 'medium',  caption: 'III' },
  { src: 'uploads/milkyway.webp',         kickerJa: '夜 · 銀河を仰ぐ',       kickerEn: 'Night With The Galaxy',   tag: 'NEW MOON',            tone: 'dark',    caption: 'IV' },
  { src: 'assets/sunset-ocean.webp',      kickerJa: '黄昏 · 太平洋の落陽',   kickerEn: 'Pacific Sunset',          tag: '18:42 JST',           tone: 'medium',  caption: 'V' },
];

const CONTENT = {
  ja: {
    nav: { story: '物語', suites: '客室', dining: '美食', activities: 'アクティビティ', access: 'アクセス', reserve: 'ご予約' },
    hero: {
      kicker: '小笠原諸島 父島',
      titleA: '遠さが、',
      titleB: '贅沢になる場所',
      lede: '東京から南へ千キロ。太平洋に浮かぶユネスコ世界自然遺産の島で、世界に二十二の部屋だけを置いた、最果てのリゾート。',
      meta1: 'EST. MMXXIV',
      meta2: '22 PAVILIONS',
      meta3: '27°04ʹN / 142°12ʹE',
      explore: 'スクロールで旅へ',
    },
    marquee: ['世界自然遺産・小笠原', 'EST. MMXXIV', '27°04ʹN  142°12ʹE', '22 PAVILIONS', '六日に一便', 'BONIN BLUE', '東京から千キロ', 'A MEMBER OF THE PACIFIC HERITAGE COLLECTION'],
    concept: {
      eyebrow: 'STORY — 01',
      title1: '六日に一便、',
      titleAccent: '辿り着けない島。',
      title2: 'AN ISLAND YOU CANNOT FLY TO.',
      bodyA: '父島は、東京から南へおよそ千キロ。空港はなく、貨客船「おがさわら丸」が訪れるのは六日に一度きり。一度も大陸とつながったことのない海洋島は、いまも数千年前のままに、ただ静かに浮かんでいます。',
      bodyB: '私たちが用意したのは、二十二の住まいだけ。琉球漆喰の壁、桑の木の床、和紙と麻の調度——島で採れた素材だけで仕立てた空間に、海風と、波音と、遠い星から届く光だけを通します。建築は、自然に勝とうとはしていません。',
      signature: '— 総支配人  山口 礼司',
      caption: 'Photographed by Hayato Iwasaki / Chichijima, Boninspring',
    },
    suites: {
      eyebrow: 'PAVILIONS — 02',
      title: '海と眠る、二十二の住まい。',
      meta: '客室はすべて独立したパビリオン形式。テラスから直接ボニンブルーへと続く専用デッキ、満天の星を仰ぐアウトドアバス、地元産の素材だけで設えた静謐な空間。',
      items: [
        { num: 'No. 01', name: 'Bonin Pavilion', size: '78m²', view: 'OCEAN', beds: 'KING', desc: 'プライベートテラスと露天風呂を備えた、最もコンパクトでありながら完璧なオーシャンフロント。72平米のリビングと専用デッキが続きます。' },
        { num: 'No. 02', name: 'Koyo Suite', size: '124m²', view: 'CLIFF', beds: 'KING / TWIN', desc: '崖上に張り出すように建つ二階建てスイート。寝室は森側、リビングは海側へ。サンクンバスから水平線を望みます。' },
        { num: 'No. 03', name: 'Stella Villa', size: '218m²', view: 'PRIVATE COVE', beds: 'KING × 2', desc: '入り江ひとつを独り占めにするヴィラ。プライベートプール、屋外ラウンジ、専属バトラーをご用意した最上位の滞在。' },
      ],
    },
    dining: {
      eyebrow: 'GASTRONOMY — 03',
      title1: '島の恵みを、',
      title2: 'ひと皿の祈りに。',
      body: '島で水揚げされた魚、希少な小笠原野菜、太平洋を望む農園で育ったハーブ。素材の声を最も大切にする「土地のキュイジーヌ」。シェフ・神宮寺亮は、エルブジでの研鑽と父島での五年の暮らしを、ひとつのコースに昇華させました。',
      menu: [
        { name: 'MAREA  —  潮', desc: '太平洋に張り出す、八席のシェフズテーブル。', meta: '21:00 / 一斉スタート' },
        { name: '凪  Nagi', desc: '島の魚と地酒を、夜の引き潮とともに。', meta: '18:30 — 22:00' },
        { name: 'Library Bar  ANTARES', desc: '父島の夜空に最も赤く灯る星、その名のもとに。', meta: '16:00 — 翌2:00' },
      ],
    },
    activities: {
      eyebrow: 'EXPERIENCES — 04',
      title: '島で出会う、七つの時間。',
      meta: '世界自然遺産の島でしか出会えない体験を、専属のフィールドガイドと共に。すべてのアクティビティは料金に含まれます。',
      items: [
        { num: 'I.', name: 'Whale Encounter', subtitle: 'ザトウクジラとの対話', season: 'FEB — APR', img: IMG.whale, span: 'act-1' },
        { num: 'II.', name: 'Bonin Blue Diving', subtitle: '固有種の海を潜る', season: 'YEAR-ROUND', img: IMG.diving, span: 'act-2' },
        { num: 'III.', name: 'Subtropical Trekking', subtitle: '東洋のガラパゴスを歩く', season: 'YEAR-ROUND', img: IMG.trail, span: 'act-3' },
        { num: 'IV.', name: 'Sunset Sail', subtitle: '太平洋の落陽を、甲板から', season: 'APR — OCT', img: IMG.kayak, span: 'act-4', objectPos: 'center 60%' },
        { num: 'V.', name: 'Forest Sound Bath', subtitle: '固有林で聴く、瞑想の朝', season: 'YEAR-ROUND', img: IMG.forest, span: 'act-5' },
        { num: 'VI.', name: 'Astral Reading', subtitle: '光のない夜、星と語る', season: 'NEW MOON', img: IMG.stars, span: 'act-6' },
      ],
    },
    access: {
      eyebrow: 'JOURNEY — 05',
      title1: '飛行機では、',
      title2: 'たどり着けない。',
      body: '小笠原諸島には空港がありません。竹芝桟橋を発つ「おがさわら丸」で、二十四時間の航海。その不便は、私たちが守り続けるべき距離。船上での一夜さえも、滞在の序章となります。',
      tagline: 'ARRIVAL BY SEA, BY DESIGN.',
      steps: [
        { time: '11:00', day: 'DAY 01', title: '東京 竹芝桟橋', desc: 'プロフェッショナル・コンシェルジュがチェックインを承ります。専用ラウンジでの軽食をご用意。' },
        { time: '12:00', day: 'DAY 01', title: 'おがさわら丸 出港', desc: '太平洋を南下する二十四時間。デッキで星を見上げ、サロンで読書を。' },
        { time: '11:00', day: 'DAY 02', title: '父島 二見港 着岸', desc: 'お車にて十分。世界遺産の森を抜け、ホテルへとご案内いたします。' },
        { time: '12:00', day: 'DAY 02', title: 'STELLARE BONIN', desc: 'ウェルカム・ティーは島の月桃。バトラーがお部屋までご案内します。' },
      ],
    },
    reservation: {
      eyebrow: 'RESERVE',
      title1: '次の静寂を、',
      title2: 'お選びください。',
      checkin: 'CHECK IN', checkout: 'CHECK OUT', guests: 'GUESTS', pavilion: 'PAVILION',
      d1: '2026.06.14', d2: '2026.06.18', guestv: '2 名', pavv: 'Koyo Suite',
      cta: '空室を確認する',
      ctaArrow: '→',
      cols: [
        { h: 'STELLARE BONIN', body: '小笠原諸島 父島\nBoninspring, Chichijima\n世界自然遺産・小笠原' },
        { h: 'CONTACT', items: ['+81 (0)4998-2-XXXX', 'reserve@stellarebonin.jp', 'WhatsApp Concierge'] },
        { h: 'NAVIGATE', items: ['物語', '客室', '美食', 'アクティビティ', 'アクセス'] },
        { h: 'FOLLOW', items: ['Instagram', 'Journal', 'Press', 'Privacy'] },
      ],
      smallA: '© MMXXVI Stellare Bonin Hotel & Residences. All rights reserved.',
      smallB: 'A member of the Pacific Heritage Collection',
    },
  },
  en: {
    nav: { story: 'Story', suites: 'Pavilions', dining: 'Dining', activities: 'Experiences', access: 'Arrival', reserve: 'Reserve' },
    hero: {
      kicker: 'Chichijima, Ogasawara Islands',
      titleA: 'Beyond the blue,',
      titleB: 'into stillness.',
      lede: 'A thousand kilometres south of Tokyo, a UNESCO World Heritage archipelago receives just twenty-two pavilions — and those who seek the far edge of quiet.',
      meta1: 'EST. MMXXIV',
      meta2: '22 PAVILIONS',
      meta3: '27°04ʹN / 142°12ʹE',
      explore: 'Scroll to begin',
    },
    marquee: ['UNESCO WORLD HERITAGE', 'EST. MMXXIV', '27°04ʹN  142°12ʹE', '22 PAVILIONS', 'ONE SHIP EVERY SIX DAYS', 'BONIN BLUE', '1,000 KM SOUTH OF TOKYO', 'A MEMBER OF THE PACIFIC HERITAGE COLLECTION'],
    concept: {
      eyebrow: 'STORY — 01',
      title1: 'One ship,',
      titleAccent: 'every six days.',
      title2: 'AN ISLAND YOU CANNOT FLY TO.',
      bodyA: 'Chichijima lies a thousand kilometres south of Tokyo. There is no airport. The Ogasawara-maru sails just once every six days — and the islands, never once joined to a continent, remain almost exactly as they have for millennia.',
      bodyB: 'We have built only twenty-two dwellings. Walls of lime and sand, floors of mulberry, fittings of washi and linen — every material drawn from the island, dressed to admit only the wind, the tide, and the light that has travelled from a star. The architecture does not try to outshine its place.',
      signature: '— Reiji Yamaguchi, General Manager',
      caption: 'Photographed by Hayato Iwasaki / Chichijima, Boninspring',
    },
    suites: {
      eyebrow: 'PAVILIONS — 02',
      title: 'Twenty-two ways to sleep beside the sea.',
      meta: 'Each pavilion stands alone — a private terrace stepping down to Bonin Blue, an outdoor bath open to the stars, a quiet interior dressed in materials drawn entirely from the island.',
      items: [
        { num: 'No. 01', name: 'Bonin Pavilion', size: '78m²', view: 'OCEAN', beds: 'KING', desc: 'Our most compact ocean-front pavilion, complete in itself — a 72-square-metre living room flowing onto a private deck and outdoor bath.' },
        { num: 'No. 02', name: 'Koyo Suite', size: '124m²', view: 'CLIFF', beds: 'KING / TWIN', desc: 'A two-storey suite cantilevered above the cliff. The bedroom turns to the forest; the living room, to the horizon. The sunken bath frames both.' },
        { num: 'No. 03', name: 'Stella Villa', size: '218m²', view: 'PRIVATE COVE', beds: 'KING × 2', desc: 'A villa with a cove of its own — private pool, outdoor lounge, dedicated butler. The closest thing on the island to disappearing.' },
      ],
    },
    dining: {
      eyebrow: 'GASTRONOMY — 03',
      title1: 'The island,',
      title2: 'on a quiet plate.',
      body: 'Fish landed at the harbour each morning. Vegetables grown only here. Herbs from a farm overlooking the Pacific. Chef Ryo Jinguji, formerly of elBulli, has spent five years on Chichijima learning what the island wants to say at the table.',
      menu: [
        { name: 'MAREA', desc: 'An eight-seat chef\'s counter cantilevered over the Pacific.', meta: '21:00 / single seating' },
        { name: 'NAGI  凪', desc: 'Island fish and small-batch sake, on the evening tide.', meta: '18:30 — 22:00' },
        { name: 'Library Bar  ANTARES', desc: 'Named for the reddest star above the Bonin night.', meta: '16:00 — 02:00' },
      ],
    },
    activities: {
      eyebrow: 'EXPERIENCES — 04',
      title: 'Seven ways to meet the island.',
      meta: 'Encounters available only on a World Heritage island, guided by our resident naturalists. Every experience is included in your stay.',
      items: [
        { num: 'I.', name: 'Whale Encounter', subtitle: 'Conversation with the humpbacks', season: 'FEB — APR', img: IMG.whale, span: 'act-1' },
        { num: 'II.', name: 'Bonin Blue Diving', subtitle: 'Endemic species, in their water', season: 'YEAR-ROUND', img: IMG.diving, span: 'act-2' },
        { num: 'III.', name: 'Subtropical Trekking', subtitle: 'Walking the Galápagos of the East', season: 'YEAR-ROUND', img: IMG.trail, span: 'act-3' },
        { num: 'IV.', name: 'Sunset Sail', subtitle: 'The Pacific setting beyond the deck', season: 'APR — OCT', img: IMG.kayak, span: 'act-4', objectPos: 'center 60%' },
        { num: 'V.', name: 'Forest Sound Bath', subtitle: 'A meditation among endemics', season: 'YEAR-ROUND', img: IMG.forest, span: 'act-5' },
        { num: 'VI.', name: 'Astral Reading', subtitle: 'Speaking with the stars', season: 'NEW MOON', img: IMG.stars, span: 'act-6' },
      ],
    },
    access: {
      eyebrow: 'JOURNEY — 05',
      title1: 'No plane',
      title2: 'reaches us.',
      body: 'There is no airport in the Ogasawaras. The Ogasawara-maru sails from Takeshiba pier for twenty-four hours — an inconvenience we have chosen to preserve. The night at sea is part of the stay.',
      tagline: 'ARRIVAL BY SEA, BY DESIGN.',
      steps: [
        { time: '11:00', day: 'DAY 01', title: 'Takeshiba Pier, Tokyo', desc: 'Check in at our private lounge with a light meal prepared by our concierge.' },
        { time: '12:00', day: 'DAY 01', title: 'Ogasawara-maru departs', desc: 'Twenty-four hours south. Read in the salon. Watch the stars from the deck.' },
        { time: '11:00', day: 'DAY 02', title: 'Futami Harbour, Chichijima', desc: 'Ten minutes by car. Through the World Heritage forest, to the hotel.' },
        { time: '12:00', day: 'DAY 02', title: 'STELLARE BONIN', desc: 'Welcome tea of island shell-ginger. Your butler will see you to your pavilion.' },
      ],
    },
    reservation: {
      eyebrow: 'RESERVE',
      title1: 'Choose your',
      title2: 'next stillness.',
      checkin: 'CHECK IN', checkout: 'CHECK OUT', guests: 'GUESTS', pavilion: 'PAVILION',
      d1: '14 Jun 2026', d2: '18 Jun 2026', guestv: '2 Guests', pavv: 'Koyo Suite',
      cta: 'Check availability',
      ctaArrow: '→',
      cols: [
        { h: 'STELLARE BONIN', body: 'Chichijima, Ogasawara\nBoninspring, Pacific Ocean\nUNESCO World Heritage' },
        { h: 'CONTACT', items: ['+81 (0)4998-2-XXXX', 'reserve@stellarebonin.jp', 'WhatsApp Concierge'] },
        { h: 'NAVIGATE', items: ['Story', 'Pavilions', 'Dining', 'Experiences', 'Arrival'] },
        { h: 'FOLLOW', items: ['Instagram', 'Journal', 'Press', 'Privacy'] },
      ],
      smallA: '© MMXXVI Stellare Bonin Hotel & Residences. All rights reserved.',
      smallB: 'A member of the Pacific Heritage Collection',
    },
  },
};

const PALETTES = {
  sea: {
    label: '海 Sea',
    bg: '#eef2f3', paper: '#f9fbfb', ink: '#0d2438', inkSoft: '#3d5168', inkMute: '#7a8a9a',
    line: 'rgba(13,36,56,.14)', accent: '#1d4a6b', accentSoft: '#7ea8c2',
  },
  forest: {
    label: '森 Forest',
    bg: '#eef0e7', paper: '#f7f8f1', ink: '#1c2a1f', inkSoft: '#3f4f3f', inkMute: '#7a8a76',
    line: 'rgba(28,42,31,.14)', accent: '#3a5a40', accentSoft: '#a3b18a',
  },
  sand: {
    label: '砂 Sand',
    bg: '#f5f1ea', paper: '#faf8f3', ink: '#2b231a', inkSoft: '#5a4d3e', inkMute: '#9a8d7a',
    line: 'rgba(43,35,26,.14)', accent: '#8a6a47', accentSoft: '#d9c4a3',
  },
  night: {
    label: '夜 Night',
    bg: '#15161a', paper: '#1d1f23', ink: '#e8e3d5', inkSoft: '#b8b2a4', inkMute: '#7a766e',
    line: 'rgba(232,227,213,.14)', accent: '#c9a85a', accentSoft: '#6b6354',
  },
};

const HEADING_FONTS = {
  cormorant: { label: 'Cormorant', stack: "'Cormorant Garamond', 'Shippori Mincho', serif" },
  tenor:     { label: 'Tenor Sans', stack: "'Tenor Sans', 'Shippori Mincho', sans-serif" },
  marcellus: { label: 'Marcellus', stack: "'Marcellus', 'Shippori Mincho', serif" },
  italiana:  { label: 'Italiana', stack: "'Italiana', 'Shippori Mincho', serif" },
  mincho:    { label: '明朝 Mincho', stack: "'Shippori Mincho', 'Noto Serif JP', serif" },
};

window.IMG = IMG;
window.CONTENT = CONTENT;
window.PALETTES = PALETTES;
window.HEADING_FONTS = HEADING_FONTS;
window.HERO_SLIDES = HERO_SLIDES;

// Stats banner (between Concept and Suites)
window.STATS = {
  ja: [
    { num: 22,   suffix: '',  label: '客室数',          sub: 'PAVILIONS' },
    { num: 1000, suffix: 'km',label: '東京から',        sub: 'SOUTH OF TOKYO' },
    { num: 6,    suffix: '',  label: '日に一便',        sub: 'DAYS, ONE SHIP' },
    { num: 27.07,suffix: '°N',label: '北緯',            sub: '142.12°E' },
  ],
  en: [
    { num: 22,   suffix: '',  label: 'Private pavilions',  sub: 'TWENTY-TWO ONLY' },
    { num: 1000, suffix: 'km',label: 'South of Tokyo',     sub: 'ONE NIGHT AT SEA' },
    { num: 6,    suffix: '',  label: 'Days, one ship',     sub: 'NO AIRPORT' },
    { num: 27.07,suffix: '°N',label: 'Latitude',           sub: '142.12°E' },
  ],
};

// Section index list (sticky vertical nav)
window.SECTIONS = [
  { id: 'story',      num: '01', ja: '物語',            en: 'Story' },
  { id: 'suites',     num: '02', ja: '客室',            en: 'Pavilions' },
  { id: 'dining',     num: '03', ja: '美食',            en: 'Dining' },
  { id: 'activities', num: '04', ja: 'アクティビティ',  en: 'Experiences' },
  { id: 'access',     num: '05', ja: '旅程',            en: 'Journey' },
  { id: 'reserve',    num: '06', ja: '予約',            en: 'Reserve' },
];
